Catel.IoC.TypeFactory.CreateInstanceWithTag C# (CSharp) Method

CreateInstanceWithTag() public method

Creates an instance of the specified type using dependency injection.
The is null.
public CreateInstanceWithTag ( Type typeToConstruct, object tag ) : object
typeToConstruct System.Type The type to construct.
tag object The preferred tag when resolving dependencies.
return object
        public object CreateInstanceWithTag(Type typeToConstruct, object tag)
        {
            return CreateInstanceWithSpecifiedParameters(typeToConstruct, tag, null, true);
        }