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); }
public static OperationOutcome.IssueComponent AddIssue(this OperationOutcome outcome, string message, Issue infoIssue, IElementNavigator location) { return(AddIssue(outcome, message, infoIssue, location.ToTypedElement())); }
public static void AddIssue(this OperationOutcome outcome, string message, Issue infoIssue, string location = null) { outcome.AddIssue(infoIssue.ToIssueComponent(message, location)); }
public static OperationOutcome NewOutcomeWithIssue(this Issue infoIssue, string message, IElementNavigator location) { return(NewOutcomeWithIssue(infoIssue, message, location.ToTypedElement())); }
public static void AddIssue(this OperationOutcome outcome, string message, Issue infoIssue, IElementNavigator location) { outcome.AddIssue(infoIssue.ToIssueComponent(message, location)); }