FilterFilterBindingBuilder<(Of <(<'T>)>)> Methods
The FilterFilterBindingBuilder<(Of <(<'T>)>)> type exposes the following members.
Methods
| Name | Description | |
|---|---|---|
|
|
Equals(System.Object) | (Inherited from Object.) |
|
|
Finalize | (Inherited from Object.) |
|
|
GetHashCode | (Inherited from Object.) |
|
|
GetType | (Inherited from Object.) |
|
|
InRequestScope |
Indicates that instances activated via the binding should be re-used within the same
HTTP request.
|
|
|
InScope(Func<(Of <<'(IContext, Object>)>>)) |
Indicates that instances activated via the binding should be re-used as long as the object
returned by the provided callback remains alive (that is, has not
been garbage collected).
|
|
|
InScope(Func<(Of <<'(IContext, ControllerContext, ActionDescriptor, Object>)>>)) |
Indicates that instances activated via the binding should be re-used as long as the object
returned by the provided callback remains alive (that is, has not
been garbage collected).
|
|
|
InSingletonScope |
Indicates that only a single instance of the binding should be created, and then
should be re-used for all subsequent requests.
|
|
|
InThreadScope |
Indicates that instances activated via the binding should be re-used within the same thread.
|
|
|
InTransientScope |
Indicates that instances activated via the binding should not be re-used, nor have
their lifecycle managed by Ninject.
|
|
|
MemberwiseClone | (Inherited from Object.) |
|
|
Named |
Indicates that the binding should be registered with the specified name.
Names are not necessarily unique; multiple bindings for a given service may be registered with the
same name.
|
|
|
OnActivation(Action<(Of <<'(T>)>>)) |
Indicates that the specified callback should be invoked when instances are activated.
|
|
|
OnActivation(Action<(Of <<'(IContext, T>)>>)) |
Indicates that the specified callback should be invoked when instances are activated.
|
|
|
OnActivation(Action<(Of <<'(IContext, ControllerContext, ActionDescriptor, T>)>>)) |
Indicates that the specified callback should be invoked when instances are activated.
|
|
|
OnDeactivation(Action<(Of <<'(IContext, T>)>>)) |
Indicates that the specified callback should be invoked when instances are deactivated.
|
|
|
OnDeactivation(Action<(Of <<'(T>)>>)) |
Indicates that the specified callback should be invoked when instances are deactivated.
|
|
|
ToString | (Inherited from Object.) |
|
|
When(Func<(Of <<'(IRequest, Boolean>)>>)) |
Indicates that the binding should be used only for requests that support the specified
condition
|
|
|
When(Func<(Of <<'(ControllerContext, ActionDescriptor, Boolean>)>>)) |
Indicates that the binding should be used only for requests that support the specified
condition
|
|
|
WhenActionMethodHas(Type) |
Indicates that the binding should be used only when the action method has
an attribute
|
|
|
WhenActionMethodHas<(Of <<'(TAttribute>)>>)()()()() |
Indicates that the binding should be used only when the action method has
an attribute of the specified type.
|
|
|
WhenActionMethodHasNo(Type) |
Indicates that the binding should be used only when the action method has
no attribute of the specified type.
|
|
|
WhenActionMethodHasNo<(Of <<'(TAttribute>)>>)()()()() |
Indicates that the binding should be used only when the action method has
no attribute of the specified type.
|
|
|
WhenControllerHas(Type) |
Indicates that the binding should be used only when the controller has
attribute
|
|
|
WhenControllerHas<(Of <<'(TAttribute>)>>)()()()() |
Indicates that the binding should be used only when the controller has
an attribute of the specified type.
|
|
|
WhenControllerHasNo(Type) |
Indicates that the binding should be used only when the controller has
no attribute of the specified type.
|
|
|
WhenControllerHasNo<(Of <<'(TAttribute>)>>)()()()() |
Indicates that the binding should be used only when the controller has
no attribute of the specified type.
|
|
|
WhenControllerType(Type) |
Whens the type of the controller.
|
|
|
WhenControllerType<(Of <<'(TAttribute>)>>)()()()() |
Whens the type of the controller.
|
|
|
WithConstructorArgument(String, Object) |
Indicates that the specified constructor argument should be overridden with the specified value.
|
|
|
WithConstructorArgument(String, Func<(Of <<'(IContext, Object>)>>)) |
Indicates that the specified constructor argument should be overridden with the specified value.
|
|
|
WithConstructorArgument(String, Func<(Of <<'(IContext, ControllerContext, ActionDescriptor, Object>)>>)) |
Indicates that the specified constructor argument should be overridden with the specified value.
|
|
|
WithConstructorArgumentFromActionAttribute<(Of <<'(TAttribute>)>>) |
Indicates that the specified constructor argument should be overridden with the specified value.
The value is retrieved from an attribute of the specified type.
|
|
|
WithConstructorArgumentFromControllerAttribute<(Of <<'(TAttribute>)>>) |
Indicates that the specified constructor argument should be overridden with the specified value.
The value is retrieved from an attribute on the controller of the specified type.
|
|
|
WithMetadata |
Sets the value of a piece of metadata on the binding.
|
|
|
WithParameter |
Adds a custom parameter to the binding.
|
|
|
WithPropertyValue(String, Object) |
Indicates that the specified property should be injected with the specified value.
|
|
|
WithPropertyValue(String, Func<(Of <<'(IContext, Object>)>>)) |
Indicates that the specified property should be injected with the specified value.
|
|
|
WithPropertyValue(String, Func<(Of <<'(IContext, ControllerContext, ActionDescriptor, Object>)>>)) |
Indicates that the specified property should be injected with the specified value.
|
|
|
WithPropertyValueFromActionAttribute<(Of <<'(TAttribute>)>>) |
Indicates that the specified property should be injected with the specified value.
The value is retrieved from an attribute of the specified type.
|
|
|
WithPropertyValueFromControllerAttribute<(Of <<'(TAttribute>)>>) |
Indicates that the specified property should be injected with the specified value.
The value is retrieved from an attribute on the controller of the specified type.
|

