public void Save(System.IO.Stream stream) { var bsmat = BSMATMaterialFile.Import(JsonContents); bsmat.Save(stream); }
public void Load(System.IO.Stream stream) { var bsmat = new BSMATMaterialFile(stream); JsonContents = bsmat.ToJson(); }