IFeatureContainer Interface

Definition

Allows you to control features in the container.

public interface class IFeatureContainer : IDisposable, Microsoft::EnterpriseManagement::IInitializable
public interface IFeatureContainer : IDisposable, Microsoft.EnterpriseManagement.IInitializable
type IFeatureContainer = interface
    interface IInitializable
    interface IDisposable
Public Interface IFeatureContainer
Implements IDisposable, IInitializable
Implements

Methods

AddFeature<T,V>(ActivationContext<V>)

Adds a new feature to the container by instantiating the passed in type. The default lifetime will be singleton.

AddFeature<T,V>(ActivationContext<V>, String)

Adds a new feature to the container by instantiating the passed in type. The default lifetime will be singleton.

AddFeature<T,V>(V)

Adds a new feature to the container by storing the passed in instance. The lifetime of the instance will not be managed by the container.

GetFeature<T>()

Gets the feature by searching for the passed in name within the container.

GetFeature<T>(String)

Gets the feature by searching for the passed in name within the container.

Initialize(IContainer)

Initializes the current instance.

(Inherited from IInitializable)
RecycleFeature<T>()

Recycles the instance of this feature.

RecycleFeature<T>(String)

Recycles the instance of this feature.

RemoveFeature<T>()

Removes the feature with the specified name.

RemoveFeature<T>(String)

Removes the feature with the specified name.

RemoveFeatures()

Removes all features from the current container.

Applies to