Example #1
0
 public void SetError(string errorMessage, ExperimentNodeErrorType errorType)
 {
     if (errorMessage == null)
     {
         Error = null;
     }
     else
     {
         Error = new ExperimentNodeError(errorMessage, errorType);
     }
 }
Example #2
0
        private void DoCopyFrom(ExperimentNode other)
        {
            if (other == null)
            {
                throw new ArgumentNullException("other");
            }

            m_owner            = null;
            ID                 = other.ID;
            Data               = other.Data.Clone();
            IsInfoPaneExpanded = other.IsInfoPaneExpanded;
            IsExecuting        = other.IsExecuting;
            IsSelected         = other.IsSelected;
            if (other.HasError)
            {
                this.Error = new ExperimentNodeError(other.Error.ErrorMessage, other.Error.ErrorType);
            }
        }
Example #3
0
 public void ClearError()
 {
     Error = null;
 }
Example #4
0
        private void DoCopyFrom(ExperimentNode other)
        {
            if (other == null)
                throw new ArgumentNullException("other");

            m_owner = null;
            ID = other.ID;
            Data = other.Data.Clone();
            IsInfoPaneExpanded = other.IsInfoPaneExpanded;
            IsExecuting = other.IsExecuting;
            IsSelected = other.IsSelected;
            if (other.HasError)
            {
                this.Error = new ExperimentNodeError(other.Error.ErrorMessage, other.Error.ErrorType);
            }
        }
Example #5
0
 public void ClearError()
 {
     Error = null;
 }
Example #6
0
 public void SetError(string errorMessage, ExperimentNodeErrorType errorType)
 {
     if (errorMessage == null)
     {
         Error = null;
     }
     else
     {
         Error = new ExperimentNodeError(errorMessage, errorType);
     }
 }
 public ExperimentNodeErrorEventArgs(ExperimentNodeError nodeError)
 {
     m_nodeError = nodeError;
 }
 public ExperimentNodeErrorEventArgs(ExperimentNodeError nodeError) 
 { 
     m_nodeError = nodeError;
 }