Abstract
Abstract base class for implementing the Factory design pattern.
A factory is responsible for creating a product of type TProduct using a specified FactoryMaterial.
TProduct
The type of product constructed by the factory.
Constructs a new factory instance.
The material details to construct the product from.
Protected
Readonly
Creates and returns the product instance.
The constructed product of type TProduct.
Abstract base class for implementing the Factory design pattern.
A factory is responsible for creating a product of type
TProductusing a specified FactoryMaterial.