Src/Black.Beard.ComponentModel/ComponentModel/Factories/ObjectActivator.cs
/// <summary>
/// Gets an customed activator factory for the specified ctor.
/// Note if the the generic is diferent of the declaring type of the ctor do a cast and is injected in the method.
/// </summary>
/// <typeparam name="T">is the type that containt the constructor with the specified arguments types</typeparam>
/// <param name="ctor">The ctor.</param>
/// <returns></returns>
Gets an customed activator factory for the specified ctor.
Note if the the generic is diferent of the declaring type of the ctor do a cast and is injected in the method.
Gets an customed activator factory for the specified ctor . Note if the the generic is diferent of the declaring type of the ctor do a cast and is injected in the method .
public static Factory<T> GetActivator<T>(ConstructorInfo methodBase, MethodDescription description)
            where T : class
        {
            return GetCallMethod<T>(methodBase, description);
        }
public static Factory < T > GetActivator < T > ( ConstructorInfo methodBase , MethodDescription description ) where T : class { return GetCallMethod < T > ( methodBase , description ) ; }
Gets an customed activator factory for the specified ctor.
Gets an customed activator factory for the specified ctor .
None
methodBase
ConstructorInfo
description
MethodDescription
ctor
None
typeparam
None