Example #1
0
 private static object[] GenerateXAttribute(AddedOrRemoved addedOrRemoved)
 {
     return(new object[]
     {
         new XAttribute(Name, addedOrRemoved.ItemName),
         new XAttribute(Context, addedOrRemoved.ResultContext),
         new XAttribute(Severity, addedOrRemoved.Severity)
     });
 }
Example #2
0
 public void FireAddedOrRemoved()
 {
     AddedOrRemoved?.Invoke();
 }