public void Update(CoreSystem?other) { if (other is null) { return; } if (Enabled != other.Enabled) { Enabled = other.Enabled; OnPropertyChanged(nameof(Enabled)); } if (!Parameters.DeepEqualsDictionaryNaive(other.Parameters)) { Parameters = other.Parameters; OnPropertyChanged(nameof(Parameters)); } }
public override bool NotApplicableTo(string romHash, CoreSystem?system) => system != _system;
public override bool NotApplicableTo(string romHash, CoreSystem?system) => system != _system || !_romHashes.Contains(romHash);
public abstract bool NotApplicableTo(string romHash, CoreSystem?system);
public bool DeepEquals(CoreSystem?other) { return(other is not null && Enabled == other.Enabled && Parameters.DeepEqualsDictionaryNaive(other.Parameters)); }