Share via


ClassWithStructConstraint<T> Class

Definition

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)

Type Parameters

T
Inheritance
ClassWithStructConstraint<T>
Implements

Constructors

ClassWithStructConstraint<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