Exemplo n.º 1
0
        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);
        }
Exemplo n.º 2
0
 private void AddError(string message, FormVM form)
 {
     WriteError newErrorInfo = new WriteError(message, studyUnit, form);
     if (!ContainsError(newErrorInfo))
     {
         AddError(newErrorInfo);
     }
 }
Exemplo n.º 3
0
 public ErrorInfoVM(WriteError errorInfo, MenuItemVM menuItem)
 {
     this.errorInfo = errorInfo;
     this.menuItem = menuItem;
 }