src/Topelab.Core.Resolver/Entities/ResolveInfoCollection.cs
/// <summary>
/// Add Self types to, and optionally, constructor param types for type <typeparamref name="TTo"/>
/// </summary>
/// <typeparam name="TTo">Type to (Implementation)</typeparam>
/// <param name="key">Key to resolve</param>
/// <param name="constructorParamTypes">Constructor param types</param>
Add Self types to, and optionally, constructor param types for type
Add Self types to and optionally constructor param types for type
public ResolveInfoCollection AddSelf<TTo>(string key, params Type[] constructorParamTypes)
        {
            Add(new ResolveInfo(typeof(TTo), typeof(TTo), ResolveModeEnum.None, ResolveLifeCycleEnum.Transient, key, constructorParamTypes));
            return this;
        }
public ResolveInfoCollection AddSelf < TTo > ( string key , params Type [ ] constructorParamTypes ) { Add ( new ResolveInfo ( typeof ( TTo ) , typeof ( TTo ) , ResolveModeEnum . None , ResolveLifeCycleEnum . Transient , key , constructorParamTypes ) ) ; return this ; }
Add Self types to, and optionally, constructor param types for type
Add Self types to and optionally constructor param types for type
key
string
Key to resolve
Key to resolve
constructorParamTypes
<not_specific>
Constructor param types
Constructor param types
typeparam
Type to (Implementation)
Type to ( Implementation )