ComboPatterns.Adapter - GetcuReone/ComboPatterns GitHub Wiki

AdapterBase

AdapterBase base class for adapters

Properties

Factory (protected)

IAbstractFactory with which the adapter was created

Methods

Create (static)

Creation adapter method. Uses a factory to create a new adapter object

GetAdapter

Creation adapter method. Use Create method with Factory property

The performance of the AdapterBase is tested by tests

AdapterProxyBase

AdapterProxyBase Base class for adapters creating proxies. inherited from AdapterBase

Constructors

AdapterProxyBase(Func createProxyFunc) (protected)

This constructor asks for the input method that will be used to create the proxy.

AdapterProxyBase(Func<TProxyParameter, TProxy> createProxyFuncWithParam) (protected)

This constructor asks for the input method that will be used to create the proxy. At the input, this method takes the parameter necessary to create a proxy

CreateProxy

Creation proxy method. Use Create method with Factory property

The performance of the AdapterBase is tested by tests

⚠️ **GitHub.com Fallback** ⚠️