C# (CSharp) System Type.MakeGenericType - 57 Beispiele gefunden. Dies sind die am besten bewerteten C# (CSharp) Beispiele für die System.Type.MakeGenericType, die aus Open Source-Projekten extrahiert wurden. Sie können Beispiele bewerten, um die Qualität der Beispiele zu verbessern.
Substitutes the elements of an array of types for the type parameters of the current generic type definition and returns a T:System.Type object representing the resulting constructed type.
The current type does not represent a generic type definition. That is, returns false. is null.-or- Any element of is null. The number of elements in is not the same as the number of type parameters in the current generic type definition.-or- Any element of does not satisfy the constraints specified for the corresponding type parameter of the current generic type. -or- contains an element that is a pointer type ( returns true), a by-ref type ( returns true), or . The invoked method is not supported in the base class. Derived classes must provide an implementation.