public void AddEditorParametersRegistry(EditorParametersRegistry param) { if (this.registry == null) { this.registry = new List <EditorParametersRegistry>(); } if (this.registry.Any(x => x.IsEquals(param)) == false) { this.registry.Add(param); } }
public bool IsEquals(EditorParametersRegistry other) { return(this.holder == other.holder && this.hiddenByDefault == other.hiddenByDefault && this.allowRegisterInRoot == other.allowRegisterInRoot); }