Interface IProductActivationConfigurationPhase
Part of Fluent Syntax flow used to build the composer
argument of IProductContext.Customize()
.
Enables one to specify the desired behavior when Licenses are being Activated via IActivateLicenses.
Namespace: Sp.Agent.Configuration.Product.Activation
Assembly: Sp.Agent.dll
Methods
Customize(Func<IProductActivationCommenceConfigurationPhase, IProductActivationCompletedConfigurationPhase>)
Enables one to provide a Configuration Expression specifying details of how you wish Activation to be managed.
Declaration
IProductConfigurationPhaseTail Customize(Func<IProductActivationCommenceConfigurationPhase, IProductActivationCompletedConfigurationPhase> composer)
Parameters
Type | Name | Description |
---|---|---|
System.Func<IProductActivationCommenceConfigurationPhase, IProductActivationCompletedConfigurationPhase> | composer | See IProductActivationCommenceConfigurationPhase for details and examples of composing a Configuration Expression using the fluent expression composition sequence. |
Returns
Type | Description |
---|---|
IProductConfigurationPhaseTail |
Examples
Not calling Configure()
is equivalent to calling it as follows:-
productContext.Configure( options => options
.Activation.Customize( activationOptions => activationOptions
.WithTaggingDefault()
.WithTranmissionDefault()
.CompleteWithDefaults() )
.CompleteWithDefaults() );