C# (CSharp) System Type.MakeGenericType - 57 exemples trouvés. Ce sont les exemples réels les mieux notés de System.Type.MakeGenericType extraits de projets open source. Vous pouvez noter les exemples pour nous aider à en améliorer la qualité.
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.