Interface IFactory<TProduct>

Namespace
Platform.Interfaces
Assembly
Platform.Interfaces.dll

Defines a factory that produces instances of a specific type.

Определяет фабрику, которая производит экземпляры определенного типа.

public interface IFactory<out TProduct>

Type Parameters

TProduct

Type of produced instances.

Тип производимых экземпляров.

Methods

Create()

Creates an instance of TProduct type.

Создает экземпляр типа TProduct.

TProduct Create()

Returns

TProduct

The instance of TProduct type.

Экземпляр типа TProduct.