public bool ResourceEquals(IColorSourceModel sourceModel) { if (sourceModel is not ProjectNativeColorSourceModel model) { return(false); } return(Value.Color == model.Value.Color); }
public bool ResourceEquals(IColorSourceModel sourceModel) { if (sourceModel is not FileColorSourceModel model) { return(false); } return(model.FileAddress == FileAddress && model.Entries == Entries && model.Endian == Endian); }