Exemplo n.º 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);
Exemplo n.º 2
0
 public static string GetEmbeddedResource <T>([CallerMemberName] string resourceName = null) => ScriptLoader.GetEmbeddedResourceByPath <T>("Resources", resourceName);