Esempio n. 1
0
        public static string PreloadGen(params string[] value)
        {
            Preload p = new Preload();

            p.WriteLine(value);
            return(p.ToString());
        }
Esempio n. 2
0
 public static void PreloadGenEnd(string filename)
 {
     if (_Preload == null)
     {
         return;
     }
     File.WriteAllText(filename, _Preload.ToString());
     _Preload = null;
 }
Esempio n. 3
0
 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));
         }
 }
Esempio n. 4
0
 public static void PreloadGenStart() => _Preload = new Preload();