예제 #1
0
 public SingleUseResolver(Needs needs, Type contractType, Type implType)
 {
     Container          = needs;
     ContractType       = contractType;
     ImplementationType = implType;
 }
예제 #2
0
 /// <summary>
 /// Registers the given Needs as a backup to this Needs.
 /// </summary>
 public Needs Defer(Needs needs) => Defer(needs.GetMaybe);