src/Topelab.Core.Resolver/Entities/ResolveInfoCollection.cs
/// <summary>
/// Add types from, to with resolve type, and optionally, constructor param types for type <typeparamref name="TTo"/>
/// </summary>
/// <typeparam name="TFrom">Type from (Interface)</typeparam>
/// <typeparam name="TTo">Type to (Implementation)</typeparam>
/// <param name="resolveType">Resolve type</param>
/// <param name="constructorParamTypes">Constructor param types</param>
Add types from, to with resolve type, and optionally, constructor param types for type
Add types from to with resolve type and optionally constructor param types for type
public ResolveInfoCollection Add<TFrom, TTo>(ResolveLifeCycleEnum resolveType, params Type[] constructorParamTypes)
        {
            Add(new ResolveInfo(typeof(TFrom), typeof(TTo), ResolveModeEnum.None, resolveType, null, constructorParamTypes));
            return this;
        }
public ResolveInfoCollection Add < TFrom , TTo > ( ResolveLifeCycleEnum resolveType , params Type [ ] constructorParamTypes ) { Add ( new ResolveInfo ( typeof ( TFrom ) , typeof ( TTo ) , ResolveModeEnum . None , resolveType , null , constructorParamTypes ) ) ; return this ; }
Add types from, to with resolve type, and optionally, constructor param types for type
Add types from to with resolve type and optionally constructor param types for type
resolveType
ResolveLifeCycleEnum
None
constructorParamTypes
Constructor param types
Constructor param types
typeparam
Type from (Interface)
Type from ( Interface )
typeparam
Type to (Implementation)
Type to ( Implementation )