Suoranta.EnterpriseLib.Web - Developer API

NinjectExtensions..::..ScopeOf<(Of <(<'T>)>)> Method

Allows defining binding scope through variable

Namespace:  Suoranta.EnterpriseLib.AppDomain
Assembly:  Suoranta.EnterpriseLib (in Suoranta.EnterpriseLib.dll)

Syntax


public static IBindingNamedWithOrOnSyntax<T> ScopeOf<T>(
	this IBindingInSyntax<T> binding,
	BindingScope scope,
	Object parent
)

Type Parameters

T

Parameters

binding
Type: IBindingInSyntax<(Of <(<'T>)>)>
scope
Type: Suoranta.EnterpriseLib.AppDomain..::..BindingScope
parent
Type: Object

Return Value