public string GetSettingFileName() { var fwo = new FileWithOptions(this.FileName); fwo.ReadOnly = this.IsReadOnly; fwo.NoDriveLetter = this.HasNoDriveLetter; return(fwo.ToString()); }
public void Test_FileWithOptions_Write_01() { var x = new FileWithOptions("Test.vhd"); x.ReadOnly = true; Assert.AreEqual("Test.vhd", x.FileName); Assert.AreEqual(true, x.ReadOnly); Assert.AreEqual(false, x.NoDriveLetter); Assert.AreEqual("/readonly/Test.vhd", x.ToString()); }
public string GetSettingFileName() { var fwo = new FileWithOptions(this.FileName); fwo.ReadOnly = this.IsReadOnly; fwo.NoDriveLetter = this.HasNoDriveLetter; return fwo.ToString(); }