ClassWithNewConstraint<T> Class
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
generic <typename T>
where T : gcnew()public ref class ClassWithNewConstraint : Microsoft::Extensions::DependencyInjection::Specification::Fakes::IFakeOpenGenericService<T>
public class ClassWithNewConstraint<T> : Microsoft.Extensions.DependencyInjection.Specification.Fakes.IFakeOpenGenericService<T> where T : new()
type ClassWithNewConstraint<'T (requires 'T : (new : unit -> 'T))> = class
interface IFakeOpenGenericService<'T (requires 'T : (new : unit -> 'T))>
Public Class ClassWithNewConstraint(Of T)
Implements IFakeOpenGenericService(Of T)
Type Parameters
- T
- Inheritance
-
ClassWithNewConstraint<T>
- Implements
Constructors
ClassWithNewConstraint<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
Spolupráca s nami v službe GitHub
Zdroj tohto obsahu nájdete v službe GitHub, kde môžete vytvárať a skúmať problémy a žiadosti o prijatie zmien. Ďalšie informácie nájdete v našom sprievodcovi prispievateľom.