Class ImplementationFactory<T1, T2, T3, TBase>
- Namespace
- Support
- Assembly
- Support.dll
public class ImplementationFactory<T1, T2, T3, TBase> : IEnumerable<Func<T1, T2, T3, TBase>>, IEnumerable where TBase : notnull
Type Parameters
T1
T2
T3
TBase
- Inheritance
-
ImplementationFactory<T1, T2, T3, TBase>
- Implements
-
IEnumerable<Func<T1, T2, T3, TBase>>
- Inherited Members
- Extension Methods
Methods
Add<TImplementation>(Func<T1, T2, T3, TImplementation>)
public void Add<TImplementation>(Func<T1, T2, T3, TImplementation> factory) where TImplementation : TBase
Parameters
factory
Func<T1, T2, T3, TImplementation>
Type Parameters
TImplementation
GetEnumerator()
Returns an enumerator that iterates through the collection.
public IEnumerator<Func<T1, T2, T3, TBase>> GetEnumerator()
Returns
- IEnumerator<Func<T1, T2, T3, TBase>>
An enumerator that can be used to iterate through the collection.
GetInstance<TImplementation>(T1, T2, T3)
public TImplementation GetInstance<TImplementation>(T1 arg1, T2 arg2, T3 arg3) where TImplementation : TBase
Parameters
arg1
T1arg2
T2arg3
T3
Returns
- TImplementation
Type Parameters
TImplementation