Remotion.Linq.SqlBackend.UnitTests.TypeForNewExpression.GetConstructor C# (CSharp) Méthode

GetConstructor() public static méthode

public static GetConstructor ( ) : ConstructorInfo
Résultat 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;
    }
  }