AssemblyCSharp.LoaderUtil.LoadTextFromResource C# (CSharp) Method

LoadTextFromResource() public static method

public static LoadTextFromResource ( string path ) : string
path string
return string
        public static string LoadTextFromResource(string path)
        {
            var data = LoadTextFromResources(path);
            PSAssert.Validate(!string.IsNullOrEmpty(data), "could not load file or file empty " + path);
            return data;
        }