コード例 #1
0
 public static Lazy <string> GetLazyEmbeddedResourceByPath <T>(
     string path,
     [CallerMemberName] string resourceName = null) => new Lazy <string>((Func <string>)(() => ScriptLoader.GetEmbeddedResourceByPath <T>(path, resourceName)), true);
コード例 #2
0
 public static string GetEmbeddedResource <T>([CallerMemberName] string resourceName = null) => ScriptLoader.GetEmbeddedResourceByPath <T>("Resources", resourceName);