Interface IDistributorNamedUserConfigurationPhase
Part of Fluent Syntax flow used to build the composer argument of WithDistributor(IAgentDistributorsConfigurationPhase, Func<IDistributorCommenceConfigurationPhase, IDistributorCompletedConfigurationPhase>).
Enables the specification of the desired behavior with regard to the calculation of a Named User.
Namespace: Sp.Agent.Configuration
Assembly: Sp.Agent.Distributor.dll
Methods
CompleteWithDefaults()
Completes the composition of the Fluent Configuration Expression.
Declaration
IDistributorCompletedConfigurationPhase CompleteWithDefaults()
Returns
| Type | Description |
|---|---|
| IDistributorCompletedConfigurationPhase |
WithNamedUser(Func<String>)
Enables the specification of a Func that will identify the correct service endpoint to use.
Declaration
IDistributorConfigurationPhaseTail WithNamedUser(Func<string> namedUser)
Parameters
| Type | Name | Description |
|---|---|---|
| System.Func<System.String> | namedUser | Function that will decide the username to be used for NamedUser locking |
Returns
| Type | Description |
|---|---|
| IDistributorConfigurationPhaseTail | The next phase of the Fluent Syntax chain. |