コード例 #1
0
        internal static OtherSettings Load(ILSpySettings settings)
        {
            var xelem = settings[SETTINGS_SECTION_NAME];
            var s     = new OtherSettings();

            s.UseMemoryMappedIO = (bool?)xelem.Attribute("UseMemoryMappedIO") ?? true;
            return(s);
        }
コード例 #2
0
 public void Load(ILSpySettings settings)
 {
     this.DataContext = OtherSettings.Load(settings);
 }
コード例 #3
0
ファイル: OtherSettings.cs プロジェクト: BahNahNah/dnSpy
 internal static OtherSettings Load(ILSpySettings settings)
 {
     var xelem = settings[SETTINGS_SECTION_NAME];
     var s = new OtherSettings();
     s.UseMemoryMappedIO = (bool?)xelem.Attribute("UseMemoryMappedIO") ?? true;
     return s;
 }
コード例 #4
0
ファイル: OtherSettings.cs プロジェクト: BahNahNah/dnSpy
 void WriteTo(OtherSettings other)
 {
     other.UseMemoryMappedIO = this.UseMemoryMappedIO;
 }
コード例 #5
0
 void WriteTo(OtherSettings other)
 {
     other.UseMemoryMappedIO = this.UseMemoryMappedIO;
 }
コード例 #6
0
ファイル: OtherSettings.cs プロジェクト: se7ensoft/dnSpy
 void WriteTo(OtherSettings other)
 {
     other.UseMemoryMappedIO = this.UseMemoryMappedIO;
     other.DeserializeResources = this.DeserializeResources;
 }