예제 #1
0
파일: ReflWrap.cs 프로젝트: Bagoum/danmokou
 public static ReflWrap <T> FromString <T>(string text, Func <string, T> constructor) where T : class =>
 ReflWrap <T> .FromFunc(text + typeof(T).RName(), () => constructor(text));
예제 #2
0
파일: ReflWrap.cs 프로젝트: Bagoum/danmokou
 public static ReflWrap <T> FromFunc <T>(string uniqueKey, Func <T> constructor) where T : class =>
 ReflWrap <T> .FromFunc(uniqueKey, constructor);