Spring.NET 1.3.0 RC1 for .NET 2.0 API Reference

ObjectFactoryUtils.ObjectOfType Method

Return a single object of the given type or subtypes, not looking in ancestor factories.

Overload List

Return a single object of the given type or subtypes, not looking in ancestor factories.

public static object ObjectOfType(IListableObjectFactory,Type)

Return a single object of the given type or subtypes, not looking in ancestor factories.

public static object ObjectOfType(IListableObjectFactory,Type,bool,bool)

See Also

ObjectFactoryUtils Class | Spring.Objects.Factory Namespace