public static IObservable <string[]> LoadAsyncAllLinesAsObservable(string path)
 {
     return(Observable.Start(() => File.ReadAllLines(Utility.GetFullPath(path))));
 }
 public static IObservable <Unit> LoadAsyncAsObservable(string path, Action <BinaryReader> onReader)
 {
     return(Observable.Start(() => Utility.Load(path, onReader)));
 }
 public static IObservable <Unit> SaveAsyncAllBytesAsObservable(string path, byte[] bytes)
 {
     return(Observable.Start(() => File.WriteAllBytes(Utility.GetFullPath(path), bytes)));
 }
 public static IObservable <Unit> SaveAsyncAllLinesAsObservable(string path, string[] contents)
 {
     return(Observable.Start(() => File.WriteAllLines(Utility.GetFullPath(path), contents)));
 }
 public static IObservable <Unit> SaveAsyncAsObservable(string path, Action <BinaryWriter> onWriter)
 {
     return(Observable.Start(() => Utility.Save(path, onWriter)));
 }