Catel.IoC.TypeFactory.CreateInstanceWithParametersWithTag C# (CSharp) 메소드

CreateInstanceWithParametersWithTag() 공개 메소드

Creates an instance of the specified type using the specified parameters as injection values.
The is null.
public CreateInstanceWithParametersWithTag ( Type typeToConstruct, object tag ) : object
typeToConstruct System.Type The type to construct.
tag object The preferred tag when resolving dependencies.
리턴 object
        public object CreateInstanceWithParametersWithTag(Type typeToConstruct, object tag, params object[] parameters)
        {
            Argument.IsNotNull("typeToConstruct", typeToConstruct);

            return CreateInstanceWithSpecifiedParameters(typeToConstruct, tag, parameters, false);
        }