src/Topelab.Core.Resolver/Entities/ResolveInfoCollection.cs
/// <summary>
/// Add scoped types from, to, 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="constructorParamTypes">Constructor param types</param>
Add scoped types from, to, and optionally, constructor param types for type
Add scoped types from to and optionally constructor param types for type
public ResolveInfoCollection AddScoped<TFrom, TTo>(params Type[] constructorParamTypes)
        {
            Add(new ResolveInfo(typeof(TFrom), typeof(TTo), ResolveModeEnum.None, ResolveLifeCycleEnum.Scoped, null, constructorParamTypes));
            return this;
        }
public ResolveInfoCollection AddScoped < TFrom , TTo > ( params Type [ ] constructorParamTypes ) { Add ( new ResolveInfo ( typeof ( TFrom ) , typeof ( TTo ) , ResolveModeEnum . None , ResolveLifeCycleEnum . Scoped , null , constructorParamTypes ) ) ; return this ; }
Add scoped types from, to, and optionally, constructor param types for type
Add scoped types from to and optionally constructor param types for type
constructorParamTypes
<not_specific>
Constructor param types
Constructor param types
typeparam
Type from (Interface)
Type from ( Interface )
typeparam
Type to (Implementation)
Type to ( Implementation )