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