public static string PreloadGen(params string[] value) { Preload p = new Preload(); p.WriteLine(value); return(p.ToString()); }
public static void PreloadGenEnd(string filename) { if (_Preload == null) { return; } File.WriteAllText(filename, _Preload.ToString()); _Preload = null; }
public static string[] Preloader(string path) { using (FileStream stream = new FileStream(path, FileMode.Open, FileAccess.Read, FileShare.ReadWrite)) using (StreamReader reader = new StreamReader(stream)) { string value = reader.ReadToEnd(); return(Preload.Preloader(value)); } }
public static void PreloadGenStart() => _Preload = new Preload();