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