private ChangeItem(ChangeStatus status, IUntypedReadableProperty property, XElement newValue, XElement oldValue, XName key, string description) { Status = status; Property = property; NewValue = newValue; OldValue = oldValue; Key = key; Description = description; }
public static ChangeItem ReadOnly([NotNull] IUntypedReadableProperty property, XElement newValue, string description) { return(new ChangeItem(ChangeStatus.ReadOnlyProperty, property, newValue, null, property.Name, description)); }
public static ChangeItem Conflict([NotNull] IUntypedReadableProperty property, [NotNull] XElement oldValue, string description) { return(new ChangeItem(ChangeStatus.Conflict, property, null, oldValue, property.Name, description)); }
public static ChangeItem Failed([NotNull] IUntypedReadableProperty property, string description) { return(new ChangeItem(ChangeStatus.Failed, property, null, null, property.Name, description)); }
public static ChangeItem Removed([NotNull] IUntypedReadableProperty property, [NotNull] XElement oldValue) { return(new ChangeItem(ChangeStatus.Removed, property, null, oldValue, property.Name, null)); }
public static ChangeItem Added([NotNull] IUntypedReadableProperty property, [NotNull] XElement newValue) { return(new ChangeItem(ChangeStatus.Added, property, newValue, null, property.Name, null)); }
public static ChangeItem Modified(IUntypedReadableProperty property, XElement newValue, XElement oldValue) { return(new ChangeItem(ChangeStatus.Modified, property, newValue, oldValue, property.Name, null)); }