Exemplo n.º 1
0
 public void Add(IIssueType issueType)
 {
     _issueTypes.Add(issueType);
 }
Exemplo n.º 2
0
 public int AddIssueType(IIssueType _issue, int SubcategoryID, string IssuetypeName, int TenantID, int UserID)
 {
     _issueList = _issue;
     return(_issueList.AddIssueType(SubcategoryID, IssuetypeName, TenantID, UserID));
 }
Exemplo n.º 3
0
 public List <IssueType> IssueTypeListByMultiSubCategoryID(IIssueType _issue, int TenantID, string SubCategoryIDs)
 {
     _issueList = _issue;
     return(_issueList.GetIssueTypeListByMultiSubCategoryID(TenantID, SubCategoryIDs));
 }
Exemplo n.º 4
0
 public List <IssueType> GetIssueTypeList(IIssueType _issue, int TenantID, int SubCategoryID)
 {
     _issueList = _issue;
     return(_issueList.GetIssueTypeList(TenantID, SubCategoryID));
 }
Exemplo n.º 5
0
 public List <IssueType> GetIssueTypeOnSearch(IIssueType _issue, int TenantID, int SubCategoryID, string searchText)
 {
     _issueList = _issue;
     return(_issueList.GetIssueTypeOnSearch(TenantID, SubCategoryID, searchText));
 }
Exemplo n.º 6
0
 public static bool AreEqual(this Tharga.Quilt4Net.DataTransfer.IssueType item, IIssueType issueType)
 {
     if (item == null && issueType == null)
     {
         return(true);
     }
     if (item.ExceptionTypeName != issueType.ExceptionTypeName)
     {
         return(false);
     }
     if (string.Compare(Clean(item.Message), Clean(issueType.Message), StringComparison.InvariantCultureIgnoreCase) != 0)
     {
         return(false);
     }
     if (string.Compare(Clean(item.StackTrace), Clean(issueType.StackTrace), StringComparison.InvariantCultureIgnoreCase) != 0)
     {
         return(false);
     }
     if (item.IssueLevel.ToIssueLevel() != issueType.IssueLevel)
     {
         return(false);
     }
     if (!item.Inner.AreEqual(issueType.Inner))
     {
         return(false);
     }
     return(true);
 }