public override bool Equals(object obj) { WriteError other = obj as WriteError; if (other == null) { return(false); } return(Message == other.Message && EDOUnit == other.EDOUnit && Form == other.Form); }
private void AddError(string message, FormVM form) { WriteError newErrorInfo = new WriteError(message, studyUnit, form); if (!ContainsError(newErrorInfo)) { AddError(newErrorInfo); } }
public ErrorInfoVM(WriteError errorInfo, MenuItemVM menuItem) { this.errorInfo = errorInfo; this.menuItem = menuItem; }