HttpConfiguration.Initializer Property
Gets or sets the action that will perform final initialization of the HttpConfiguration instance before it is used to process requests.
Namespace: System.Web.Http
Assembly: System.Web.Http (in System.Web.Http.dll)
Syntax
'Declaration
Public Property Initializer As Action(Of HttpConfiguration)
Get
Set
'Usage
Dim instance As HttpConfiguration
Dim value As Action(Of HttpConfiguration)
value = instance.Initializer
instance.Initializer = value
public Action<HttpConfiguration> Initializer { get; set; }
public:
property Action<HttpConfiguration^>^ Initializer {
Action<HttpConfiguration^>^ get ();
void set (Action<HttpConfiguration^>^ value);
}
member Initializer : Action<HttpConfiguration> with get, set
function get Initializer () : Action<HttpConfiguration>
function set Initializer (value : Action<HttpConfiguration>)
Property Value
Type: System.Action<HttpConfiguration>
The action that will perform final initialization of the HttpConfiguration instance.
Remarks
The Action returned by this property will be called to perform final initialization of an HttpConfiguration before it is used to process a request. The HttpConfiguration passed to this action should be considered immutable after the action returns.