Sdílet prostřednictvím


ClassWithInterfaceConstraint<T> Třída

Definice

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

Parametry typu

T
Dědičnost
ClassWithInterfaceConstraint<T>
Implementuje

Konstruktory

ClassWithInterfaceConstraint<T>(T)

Vlastnosti

Value

Metody

Equals(Object)

Určí, zda se zadaný objekt rovná aktuálnímu objektu.

(Zděděno od Object)
GetHashCode()

Slouží jako výchozí hashovací funkce.

(Zděděno od Object)
GetType()

Získá aktuální Type instanci.

(Zděděno od Object)
MemberwiseClone()

Vytvoří mělkou kopii aktuálního Objectsouboru .

(Zděděno od Object)
ToString()

Vrátí řetězec, který představuje aktuální objekt.

(Zděděno od Object)

Platí pro