Esempio n. 1
0
 /// <summary>
 /// Initializes a new instance of the CoolDI class by using the specified LateBindingOptions object.
 /// </summary>
 /// <param name="bindedLateBindingOptions">The kind of constructor that will be using in creating binded types by reflection.</param>
 /// <param name="invokeUnbindedTypes">Set "true" to get unbinded types by reflection.</param>
 public CoolDI(LateBindingOptions bindedLateBindingOptions, bool invokeUnbindedTypes)
 {
     BindedLateBindingOption = bindedLateBindingOptions;
     InvokeUnbindedTypes     = invokeUnbindedTypes;
     _dict = new Dictionary <Key, Value_CoolDI>(new KeyComparer());
 }
 /// <summary>
 /// Initializes a new instance of the SamopalDI class by using the specified LateBindingOptions object.
 /// </summary>
 /// <param name="options">Choose the kind of constructor that will be used in late binding process.</param>
 public SamopalDI(LateBindingOptions options)
 {
     LateBindingOption = options;
     _dict             = new Dictionary <Key, Value>(new KeyComparer());
 }
Esempio n. 3
0
 /// <summary>
 /// Initializes a new instance of the CoolDI class by using the specified LateBindingOptions object.
 /// </summary>
 /// <param name="options">The kind of constructor that will be used in late binding process.</param>
 public CoolDI(LateBindingOptions options) : this(options, false)
 {
 }