Dela via


ClassWithClassConstraint<T> Class

Definition

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

Type Parameters

T
Inheritance
ClassWithClassConstraint<T>
Implements

Constructors

ClassWithClassConstraint<T>()

Properties

Value

Methods

Equals(Object)

Determines whether the specified object is equal to the current object.

(Inherited from Object)
GetHashCode()

Serves as the default hash function.

(Inherited from Object)
GetType()

Gets the Type of the current instance.

(Inherited from Object)
MemberwiseClone()

Creates a shallow copy of the current Object.

(Inherited from Object)
ToString()

Returns a string that represents the current object.

(Inherited from Object)

Applies to