예제 #1
0
 /// <summary>
 /// Updates the problem status.
 /// </summary>
 /// <param name="problemStatus">The problem status.</param>
 /// <param name="statusChangedDate">The status changed date.</param>
 public virtual void UpdateProblemStatus(ProblemStatus problemStatus, DateTime?statusChangedDate)
 {
     if ((_problemStatus == null && problemStatus != null) || (_problemStatus != null && !_problemStatus.Equals(problemStatus)))
     {
         ProblemStatus     = problemStatus;
         StatusChangedDate = statusChangedDate;
     }
 }
예제 #2
0
파일: Problem.cs 프로젝트: divyang4481/REM
 /// <summary>
 /// Updates the problem status.
 /// </summary>
 /// <param name="problemStatus">The problem status.</param>
 /// <param name="statusChangedDate">The status changed date.</param>
 public virtual void UpdateProblemStatus(ProblemStatus problemStatus, DateTime? statusChangedDate)
 {
     if ((_problemStatus == null && problemStatus != null) || (_problemStatus != null && !_problemStatus.Equals(problemStatus)))
     {
         ProblemStatus = problemStatus;
         StatusChangedDate = statusChangedDate;
     }
 }