Castle.MicroKernel.ComponentReference<T>
Reference to component obtained from the container.
namespace Castle.MicroKernel
{
public class ComponentReference<T> : IReference<T>
{
protected readonly string referencedComponentName;
protected readonly Type referencedComponentType;
protected DependencyModel dependencyModel;
protected virtual Type ComponentType { get; }
public ComponentReference(Type componentType);
public ComponentReference(string referencedComponentName);
public T Resolve(IKernel kernel, CreationContext context);
}
}