SmartDIExtensions.cs
/// <summary>
/// Another easy-access call to <see cref="RegisterType" />.
/// </summary>
/// <param name="diContainer">The di container.</param>
/// <param name="classType">Type of the class.</param>
/// <param name="storageRule">The storage rule.</param>
/// <param name="creator">The creator.</param>
/// <summary>
/// Registers the type of the solo.
/// </summary>
/// <param name="diContainer">The di container.</param>
/// <param name="classType">Type of the class.</param>
/// <param name="storageRule">The storage rule.</param>
/// <param name="creator">The creator.</param>
/// <autogeneratedoc />
/// TODO Edit XML Comment Template for RegisterSoloType
Registers the type of the solo.
Registers the type of the solo .
public static void RegisterSoloType
      (
         this ISmartDIContainer diContainer,
         Type                   classType,
         StorageRules           storageRule = StorageRules.AnyAccessLevel,
         Func<object>           creator     = null
      )
      {
         diContainer.RegisterType(classType, storageRule, creator, true);
      }
public static void RegisterSoloType ( this ISmartDIContainer diContainer , Type classType , StorageRules storageRule = StorageRules . AnyAccessLevel , Func < object > creator = null ) { diContainer . RegisterType ( classType , storageRule , creator , true ) ; }
Registers the type of the solo.
Registers the type of the solo .
ISmartDIContainer
this
classType
Type
Type of the class.
Type of the class .
storageRule
StorageRules
The storage rule.
The storage rule .
creator
Func<object>
None
diContainer
The di container.
The di container .
autogeneratedoc
None