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