Пример #1
0
 public TimerDisplayModel(RecentJira recentJira)
 {
     Timer             = null;
     Reference         = recentJira.JiraReference;
     Description       = recentJira.JiraName;
     ParentReference   = recentJira.JiraParentReference;
     ParentDescription = recentJira.JiraParentName;
     HasParent         = !string.IsNullOrWhiteSpace(recentJira.JiraParentReference);
 }
Пример #2
0
 public JiraIssueDisplayModel(RecentJira recentJira)
 {
     Reference   = recentJira.JiraReference;
     Description = recentJira.JiraName;
     if (!string.IsNullOrWhiteSpace(recentJira.JiraParentReference))
     {
         ParentReference   = recentJira.JiraParentReference;
         ParentDescription = recentJira.JiraParentName;
     }
 }