/// Convert an <see cref="Action{T2}"/> to an <see cref="Action{T1}"/> of an inherited <see cref="Type"/>
/// </summary>
/// <typeparam name="T1">The <see cref="Type"/> of the <see cref="Action{T1}"/> to convert to, has to be implemented by <typeparamref name="T2"/></typeparam>
/// <typeparam name="T2">The <see cref="Type"/> of the given <see cref="Action{T2}"/>, has to implement <typeparamref name="T1"/></typeparam>
/// <param name="action">The given <see cref="Action{T2}"/> to convert</param>
/// <returns>An <see cref="Action{T1}"/> converted from the given <see cref="Action{T2}"/></returns>
Convert an <seecref="T:System.Action`1"/> to an <seecref="T:System.Action`1"/> of an inherited <seecref="T:System.Type"/>
</summary>
<typeparamname="T1">The <seecref="T:System.Type"/> of the <seecref="T:System.Action`1"/> to convert to, has to be implemented by <typeparamrefname="T2"/></typeparam>
<typeparamname="T2">The <seecref="T:System.Type"/> of the given <seecref="T:System.Action`1"/>, has to implement <typeparamrefname="T1"/></typeparam>
<paramname="action">The given <seecref="T:System.Action`1"/> to convert</param>
<returns>An <seecref="T:System.Action`1"/> converted from the given <seecref="T:System.Action`1"/></returns>
Returns the first element of a <seecref="T:System.Collections.Generic.IEnumerable`1"/>, or a new instance of a given <seecref="T:System.Type"/> if the <seecref="T:System.Collections.Generic.IEnumerable`1"/> contains no elements
Returns the first element of a <seecref="T:System.Collections.Generic.IEnumerable`1"/>, or a new instance of a given <seecref="T:System.Type"/> if the <seecref="T:System.Collections.Generic.IEnumerable`1"/> contains no elements
@ -418,6 +427,55 @@
</summary>
</summary>
<paramname="container">The current <seecref="T:LightweightIocContainer.Interfaces.IIocContainer"/></param>
<paramname="container">The current <seecref="T:LightweightIocContainer.Interfaces.IIocContainer"/></param>
Provides an <seecref="M:LightweightIocContainer.Interfaces.Registrations.FluentProviders.IOnCreate`1.OnCreate(System.Action{`0})"/> method to an <seecref="T:LightweightIocContainer.Interfaces.Registrations.IRegistrationBase`1"/>
This <seecref="T:System.Action"/> is invoked when an instance of this type is created.
<para>Can be set in the <seecref="T:LightweightIocContainer.Interfaces.Installers.IIocInstaller"/> by calling <seecref="M:LightweightIocContainer.Interfaces.Registrations.FluentProviders.IOnCreate`1.OnCreate(System.Action{`0})"/></para>
Provides a <seecref="M:LightweightIocContainer.Interfaces.Registrations.FluentProviders.IWithParameters`1.WithParameters(System.Object[])"/> method to an <seecref="T:LightweightIocContainer.Interfaces.Registrations.IRegistrationBase`1"/>
An <seecref="T:System.Array"/> of parameters that are used to <seecref="M:LightweightIocContainer.Interfaces.IIocContainer.Resolve``1"/> an instance of this <seecref="P:LightweightIocContainer.Interfaces.Registrations.IRegistration.InterfaceType"/>
<para>Can be set in the <seecref="T:LightweightIocContainer.Interfaces.Installers.IIocInstaller"/> by calling <seecref="M:LightweightIocContainer.Interfaces.Registrations.FluentProviders.IWithParameters`1.WithParameters(System.Object[])"/></para>
Pass parameters that will be used to<seecref="M:LightweightIocContainer.Interfaces.IIocContainer.Resolve``1"/> an instance of this <seecref="P:LightweightIocContainer.Interfaces.Registrations.IRegistration.InterfaceType"/>
<para>Parameters set with this method are always inserted at the beginning of the argument list if more parameters are given when resolving</para>
</summary>
<paramname="parameters">The parameters</param>
<returns>The current instance of this <seecref="T:LightweightIocContainer.Interfaces.Registrations.IRegistrationBase`1"/></returns>
<exceptioncref="T:LightweightIocContainer.Exceptions.InvalidRegistrationException"><seecref="P:LightweightIocContainer.Interfaces.Registrations.FluentProviders.IWithParameters`1.Parameters"/> are already set or no parameters given</exception>
Pass parameters that will be used to<seecref="M:LightweightIocContainer.Interfaces.IIocContainer.Resolve``1"/> an instance of this <seecref="P:LightweightIocContainer.Interfaces.Registrations.IRegistration.InterfaceType"/>
<para>Parameters set with this method are inserted at the position in the argument list that is passed with the parameter if more parameters are given when resolving</para>
</summary>
<paramname="parameters">The parameters with their position</param>
<returns>The current instance of this <seecref="T:LightweightIocContainer.Interfaces.Registrations.IRegistrationBase`1"/></returns>
<exceptioncref="T:LightweightIocContainer.Exceptions.InvalidRegistrationException"><seecref="P:LightweightIocContainer.Interfaces.Registrations.FluentProviders.IWithParameters`1.Parameters"/> are already set or no parameters given</exception>
The <seecref="T:LightweightIocContainer.Interfaces.Registrations.IDefaultRegistration`1"/> to register a <seecref="T:System.Type"/> for the Interface it implements
The <seecref="T:LightweightIocContainer.Interfaces.Registrations.IDefaultRegistration`1"/> to register a <seecref="T:System.Type"/> for the Interface it implements
@ -466,43 +524,6 @@
The Lifestyle of Instances that are created with this <seecref="T:LightweightIocContainer.Interfaces.Registrations.IRegistrationBase`1"/>
The Lifestyle of Instances that are created with this <seecref="T:LightweightIocContainer.Interfaces.Registrations.IRegistrationBase`1"/>
This <seecref="T:System.Action`1"/> is invoked when an instance of this type is created.
<para>Can be set in the <seecref="T:LightweightIocContainer.Interfaces.Installers.IIocInstaller"/> by calling <seecref="M:LightweightIocContainer.Interfaces.Registrations.IRegistrationBase`1.OnCreate(System.Action{`0})"/></para>
An <seecref="T:System.Array"/> of parameters that are used to <seecref="M:LightweightIocContainer.Interfaces.IIocContainer.Resolve``1"/> an instance of this <seecref="P:LightweightIocContainer.Interfaces.Registrations.IRegistration.InterfaceType"/>
<para>Can be set in the <seecref="T:LightweightIocContainer.Interfaces.Installers.IIocInstaller"/> by calling <seecref="M:LightweightIocContainer.Interfaces.Registrations.IRegistrationBase`1.WithParameters(System.Object[])"/></para>
Pass parameters that will be used to<seecref="M:LightweightIocContainer.Interfaces.IIocContainer.Resolve``1"/> an instance of this <seecref="P:LightweightIocContainer.Interfaces.Registrations.IRegistration.InterfaceType"/>
<para>Parameters set with this method are always inserted at the beginning of the argument list if more parameters are given when resolving</para>
</summary>
<paramname="parameters">The parameters</param>
<returns>The current instance of this <seecref="T:LightweightIocContainer.Interfaces.Registrations.IRegistrationBase`1"/></returns>
<exceptioncref="T:LightweightIocContainer.Exceptions.InvalidRegistrationException"><seecref="P:LightweightIocContainer.Interfaces.Registrations.IRegistrationBase`1.Parameters"/> are already set or no parameters given</exception>
Pass parameters that will be used to<seecref="M:LightweightIocContainer.Interfaces.IIocContainer.Resolve``1"/> an instance of this <seecref="P:LightweightIocContainer.Interfaces.Registrations.IRegistration.InterfaceType"/>
<para>Parameters set with this method are inserted at the position in the argument list that is passed with the parameter if more parameters are given when resolving</para>
</summary>
<paramname="parameters">The parameters with their position</param>
<returns>The current instance of this <seecref="T:LightweightIocContainer.Interfaces.Registrations.IRegistrationBase`1"/></returns>
<exceptioncref="T:LightweightIocContainer.Exceptions.InvalidRegistrationException"><seecref="P:LightweightIocContainer.Interfaces.Registrations.IRegistrationBase`1.Parameters"/> are already set or no parameters given</exception>
The <seecref="T:LightweightIocContainer.Interfaces.Registrations.IRegistrationBase`1"/> to register either only an interface or only a <seecref="T:System.Type"/>
The <seecref="T:LightweightIocContainer.Interfaces.Registrations.IRegistrationBase`1"/> to register either only an interface or only a <seecref="T:System.Type"/>
Update the given arguments with the <seecref="P:LightweightIocContainer.Interfaces.Registrations.IRegistrationBase`1.Parameters"/> of the given <seecref="T:LightweightIocContainer.Interfaces.Registrations.IRegistrationBase`1"/>
Update the given arguments with the <seecref="P:LightweightIocContainer.Interfaces.Registrations.FluentProviders.IWithParameters`1.Parameters"/> of the given <seecref="T:LightweightIocContainer.Interfaces.Registrations.IRegistrationBase`1"/>
</summary>
</summary>
<typeparamname="T">The given <seecref="T:System.Type"/></typeparam>
<typeparamname="T">The given <seecref="T:System.Type"/></typeparam>
<paramname="registration">The <seecref="T:LightweightIocContainer.Interfaces.Registrations.IRegistrationBase`1"/> of the given <seecref="T:System.Type"/></param>
<paramname="registration">The <seecref="T:LightweightIocContainer.Interfaces.Registrations.IRegistrationBase`1"/> of the given <seecref="T:System.Type"/></param>
<returns>The argument list updated with the <seecref="P:LightweightIocContainer.Interfaces.Registrations.IRegistrationBase`1.Parameters"/></returns>
<returns>The argument list updated with the <seecref="P:LightweightIocContainer.Interfaces.Registrations.FluentProviders.IWithParameters`1.Parameters"/></returns>