public void Load(ICozyLoader loader) { if (Path != null) { if (File.Exists(Path)) { using (Stream stream = new FileStream(Path, FileMode.Open, FileAccess.Read)) { loader.Load(stream); } } } }
public void Load(ICozyLoader loader) { if(Path != null) { if(File.Exists(Path)) { using (Stream stream = new FileStream(Path, FileMode.Open, FileAccess.Read)) { loader.Load(stream); } } } }