Src/Black.Beard.ComponentModel/ComponentModel/TypeDiscovery.cs
/// <summary>
/// Resolve types argument and Creates an optimized factory for the specified arguments.
/// </summary>
/// <typeparam name="T"></typeparam>
/// <param name="args">The arguments.</param>
/// <returns></returns>
Resolve types argument and Creates an optimized factory for the specified arguments.
Resolve types argument and Creates an optimized factory for the specified arguments .
public IFactory<T> Create<T>(params dynamic[] args)
            where T : class
        {
            var types = ObjectCreator.ResolveTypesOfArguments(args);
            var factory = ObjectCreator.GetActivatorByArguments<T>(types);
            return factory;
        }
public IFactory < T > Create < T > ( params dynamic [ ] args ) where T : class { var types = ObjectCreator . ResolveTypesOfArguments ( args ) ; var factory = ObjectCreator . GetActivatorByArguments < T > ( types ) ; return factory ; }
Resolve types argument and Creates an optimized factory for the specified arguments.
Resolve types argument and Creates an optimized factory for the specified arguments .
None
args
None
typeparam
None