Interface IFactory<TProduct>
Defines a factory that produces instances of a specific type.
Определяет фабрику, которая производит экземпляры определенного типа.
Namespace: Platform.Interfaces
Assembly: Platform.Interfaces.dll
Syntax
public interface IFactory<out TProduct>
Type Parameters
| Name | Description |
|---|---|
| TProduct | Type of produced instances. Тип производимых экземпляров. |
Methods
| Improve this Doc View SourceCreate()
Creates an instance of TProduct type.
Создает экземпляр типа TProduct.
Declaration
TProduct Create()
Returns
| Type | Description |
|---|---|
| TProduct | The instance of Экземпляр типа |