예제 #1
0
 public static void Set(T value)
 {
     OneExtensions.Set(null, Holder, value);
 }
예제 #2
0
 public static T Get()
 {
     return(OneExtensions.Get(null, Holder));
 }
예제 #3
0
 public object OfOne(Type type)
 {
     return(OneExtensions.Get(type));
 }
예제 #4
0
 public void ToOne(Type type, object value)
 {
     OneExtensions.Set(type, value);
 }
예제 #5
0
 public object OfToOne(Type type, FuncWrapper creator)
 {
     return(OneExtensions.GetSet(type, creator));
 }