Udostępnij za pośrednictwem


ClassWithStructConstraint<T> Klasa

Definicja

generic <typename T>
 where T : value classpublic ref class ClassWithStructConstraint : Microsoft::Extensions::DependencyInjection::Specification::Fakes::IFakeOpenGenericService<T>
public class ClassWithStructConstraint<T> : Microsoft.Extensions.DependencyInjection.Specification.Fakes.IFakeOpenGenericService<T> where T : struct
type ClassWithStructConstraint<'T (requires 'T : struct)> = class
    interface IFakeOpenGenericService<'T (requires 'T : struct)>
Public Class ClassWithStructConstraint(Of T)
Implements IFakeOpenGenericService(Of T)

Parametry typu

T
Dziedziczenie
ClassWithStructConstraint<T>
Implementuje

Konstruktory

ClassWithStructConstraint<T>()

Właściwości

Value

Metody

Equals(Object)

Określa, czy dany obiekt jest taki sam, jak bieżący obiekt.

(Odziedziczone po Object)
GetHashCode()

Służy jako domyślna funkcja skrótu.

(Odziedziczone po Object)
GetType()

Type Pobiera bieżące wystąpienie.

(Odziedziczone po Object)
MemberwiseClone()

Tworzy płytkią kopię bieżącego Objectelementu .

(Odziedziczone po Object)
ToString()

Zwraca ciąg reprezentujący bieżący obiekt.

(Odziedziczone po Object)

Dotyczy