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