Пример #1
0
        public static OperationOutcome.IssueComponent AddIssue(this OperationOutcome outcome, string message, Issue infoIssue, string location = null)
        {
            var issue = infoIssue.ToIssueComponent(message, location);

            outcome.AddIssue(issue);
            return(issue);
        }
Пример #2
0
 public static OperationOutcome.IssueComponent AddIssue(this OperationOutcome outcome, string message, Issue infoIssue, IElementNavigator location)
 {
     return(AddIssue(outcome, message, infoIssue, location.ToTypedElement()));
 }
Пример #3
0
 public static void AddIssue(this OperationOutcome outcome, string message, Issue infoIssue, string location = null)
 {
     outcome.AddIssue(infoIssue.ToIssueComponent(message, location));
 }
Пример #4
0
 public static OperationOutcome NewOutcomeWithIssue(this Issue infoIssue, string message, IElementNavigator location)
 {
     return(NewOutcomeWithIssue(infoIssue, message, location.ToTypedElement()));
 }
Пример #5
0
 public static void AddIssue(this OperationOutcome outcome, string message, Issue infoIssue, IElementNavigator location)
 {
     outcome.AddIssue(infoIssue.ToIssueComponent(message, location));
 }