C# Class LinFu.AOP.Interfaces.TypeActivatorRegistry

Represents a registry that allows users to statically register ITypeActivator instances.
Afficher le fichier Open project: philiplaureano/LinFu

Méthodes publiques

Méthode Description
GetActivator ( ITypeActivationContext context ) : ITypeActivator

Obtains an activator for the given context.

SetActivator ( ITypeActivator activator ) : void

Sets the ITypeActivator that will be used to instantiate object instances.

Method Details

GetActivator() public static méthode

Obtains an activator for the given context.
public static GetActivator ( ITypeActivationContext context ) : ITypeActivator
context ITypeActivationContext The instance that describes the object to be created.
Résultat ITypeActivator

SetActivator() public static méthode

Sets the ITypeActivator that will be used to instantiate object instances.
public static SetActivator ( ITypeActivator activator ) : void
activator ITypeActivator The that will instantiate types.
Résultat void