Skip to content

IServiceTypeSelector Methods

InterfaceMethods8 members
The Compiled Service Type Selector
Registers each matching concrete type as T.
public interface IServiceTypeSelector
{
public abstract IServiceLifetimeSelector As<T>()
{
// ...
}
}
Registers each matching concrete type as type
public interface IServiceTypeSelector
{
public abstract IServiceLifetimeSelector As(
Type type)
{
// ...
}
}
typeType
Registers each matching concrete type as all of its implemented interfaces.
public interface IServiceTypeSelector
{
public abstract IServiceLifetimeSelector AsImplementedInterfaces()
{
// ...
}
}
Registers each matching concrete type as all of its implemented interfaces.
public interface IServiceTypeSelector
{
public abstract IServiceLifetimeSelector AsImplementedInterfaces(
Action<ITypeFilter> action)
{
// ...
}
}
actionAction<ITypeFilter>
Registers the type with the first found matching interface name. (e.g. ClassName is matched to IClassName)
public interface IServiceTypeSelector
{
public abstract IServiceLifetimeSelector AsMatchingInterface()
{
// ...
}
}
Registers each matching concrete type as itself.
public interface IServiceTypeSelector
{
public abstract IServiceLifetimeSelector AsSelf()
{
// ...
}
}
Registers each matching concrete type as all of its implemented interfaces, by returning an instance of the main type
public interface IServiceTypeSelector
{
public abstract IServiceLifetimeSelector AsSelfWithInterfaces()
{
// ...
}
}
Registers each matching concrete type as all of its implemented interfaces, by returning an instance of the main type
public interface IServiceTypeSelector
{
public abstract IServiceLifetimeSelector AsSelfWithInterfaces(
Action<ITypeFilter> action)
{
// ...
}
}
actionAction<ITypeFilter>