示例#1
0
        public void OnClosed(bool saveSettings, IAppRefreshSettings appRefreshSettings)
        {
            if (!saveSettings)
            {
                return;
            }

            if (!_global_ilSettings.Equals(ilSettings))
            {
                appRefreshSettings.Add(SettingsConstants.REDISASSEMBLE_IL_ILSPY_CODE);
            }

            ilSettings.CopyTo(_global_ilSettings);
        }
示例#2
0
 public override bool Equals(object obj)
 {
     return(obj is ILLanguageDecompilerSettings &&
            ilSettings.Equals(((ILLanguageDecompilerSettings)obj).ilSettings));
 }
 protected override bool EqualsCore(object obj) =>
 obj is ILLanguageDecompilerSettings && ilSettings.Equals(((ILLanguageDecompilerSettings)obj).ilSettings);