C# Class StructureMap.Query.PluginTypeConfigurationExtensions

Datei anzeigen Open project: visit/structuremap

Public Methods

Method Description
EjectAndRemove ( this configuration, bool>.Func filter ) : void

Ejects and removes all objects and configuration for the instances that match the filter

EjectAndRemove ( this configuration, string instanceName ) : void

Ejects and removes all objects and the configuration for the named instance from the container

Find ( this configuration, string instanceName ) : InstanceRef

Method Details

EjectAndRemove() public static method

Ejects and removes all objects and configuration for the instances that match the filter
public static EjectAndRemove ( this configuration, bool>.Func filter ) : void
configuration this
filter bool>.Func
return void

EjectAndRemove() public static method

Ejects and removes all objects and the configuration for the named instance from the container
public static EjectAndRemove ( this configuration, string instanceName ) : void
configuration this
instanceName string
return void

Find() public static method

public static Find ( this configuration, string instanceName ) : InstanceRef
configuration this
instanceName string
return InstanceRef