Suoranta.EnterpriseLib.Web.AppDomain.Ninject.Mvc.FilterBindingSyntax Namespace
Suoranta.EnterpriseLib.Web - Developer API

FilterFilterBindingBuilder<(Of <(<'T>)>)> Methods

The FilterFilterBindingBuilder<(Of <(<'T>)>)> type exposes the following members.

Methods


  Name Description
Public method Equals(System.Object) (Inherited from Object.)
Protected method Finalize (Inherited from Object.)
Public method GetHashCode (Inherited from Object.)
Public method GetType (Inherited from Object.)
Public method InRequestScope
Indicates that instances activated via the binding should be re-used within the same HTTP request.
Public method 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).
Public method 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).
Public method InSingletonScope
Indicates that only a single instance of the binding should be created, and then should be re-used for all subsequent requests.
Public method InThreadScope
Indicates that instances activated via the binding should be re-used within the same thread.
Public method InTransientScope
Indicates that instances activated via the binding should not be re-used, nor have their lifecycle managed by Ninject.
Protected method MemberwiseClone (Inherited from Object.)
Public method 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.
Public method OnActivation(Action<(Of <<'(T>)>>))
Indicates that the specified callback should be invoked when instances are activated.
Public method OnActivation(Action<(Of <<'(IContext, T>)>>))
Indicates that the specified callback should be invoked when instances are activated.
Public method OnActivation(Action<(Of <<'(IContext, ControllerContext, ActionDescriptor, T>)>>))
Indicates that the specified callback should be invoked when instances are activated.
Public method OnDeactivation(Action<(Of <<'(IContext, T>)>>))
Indicates that the specified callback should be invoked when instances are deactivated.
Public method OnDeactivation(Action<(Of <<'(T>)>>))
Indicates that the specified callback should be invoked when instances are deactivated.
Public method ToString (Inherited from Object.)
Public method When(Func<(Of <<'(IRequest, Boolean>)>>))
Indicates that the binding should be used only for requests that support the specified condition
Public method When(Func<(Of <<'(ControllerContext, ActionDescriptor, Boolean>)>>))
Indicates that the binding should be used only for requests that support the specified condition
Public method WhenActionMethodHas(Type)
Indicates that the binding should be used only when the action method has an attribute
Public method WhenActionMethodHas<(Of <<'(TAttribute>)>>)()()()()
Indicates that the binding should be used only when the action method has an attribute of the specified type.
Public method WhenActionMethodHasNo(Type)
Indicates that the binding should be used only when the action method has no attribute of the specified type.
Public method WhenActionMethodHasNo<(Of <<'(TAttribute>)>>)()()()()
Indicates that the binding should be used only when the action method has no attribute of the specified type.
Public method WhenControllerHas(Type)
Indicates that the binding should be used only when the controller has attribute
Public method WhenControllerHas<(Of <<'(TAttribute>)>>)()()()()
Indicates that the binding should be used only when the controller has an attribute of the specified type.
Public method WhenControllerHasNo(Type)
Indicates that the binding should be used only when the controller has no attribute of the specified type.
Public method WhenControllerHasNo<(Of <<'(TAttribute>)>>)()()()()
Indicates that the binding should be used only when the controller has no attribute of the specified type.
Public method WhenControllerType(Type)
Whens the type of the controller.
Public method WhenControllerType<(Of <<'(TAttribute>)>>)()()()()
Whens the type of the controller.
Public method WithConstructorArgument(String, Object)
Indicates that the specified constructor argument should be overridden with the specified value.
Public method WithConstructorArgument(String, Func<(Of <<'(IContext, Object>)>>))
Indicates that the specified constructor argument should be overridden with the specified value.
Public method WithConstructorArgument(String, Func<(Of <<'(IContext, ControllerContext, ActionDescriptor, Object>)>>))
Indicates that the specified constructor argument should be overridden with the specified value.
Public method 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.
Public method 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.
Public method WithMetadata
Sets the value of a piece of metadata on the binding.
Public method WithParameter
Adds a custom parameter to the binding.
Public method WithPropertyValue(String, Object)
Indicates that the specified property should be injected with the specified value.
Public method WithPropertyValue(String, Func<(Of <<'(IContext, Object>)>>))
Indicates that the specified property should be injected with the specified value.
Public method WithPropertyValue(String, Func<(Of <<'(IContext, ControllerContext, ActionDescriptor, Object>)>>))
Indicates that the specified property should be injected with the specified value.
Public method 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.
Public method 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.