Remotion.Linq.SqlBackend.UnitTests.TypeForNewExpression.GetConstructor C# (CSharp) Метод

GetConstructor() публичный статический Метод

public static GetConstructor ( ) : ConstructorInfo
Результат System.Reflection.ConstructorInfo
    public static ConstructorInfo GetConstructor (params Type[] parameterTypes)
    {
      var constructorInfo = typeof (TypeForNewExpression).GetConstructor (parameterTypes);
      if (constructorInfo == null)
        throw new ArgumentException ("Ctor not found.", "parameterTypes");
      return constructorInfo;
    }
  }