public void Add(MapToNullCondition condition) { var conditions = MapToNullConditions; ThrowIfConflictingItemExists(condition, conditions, (c, cC) => c.GetConflictMessage()); conditions.AddThenSort(condition); }
public void Add(MapToNullCondition condition) { ThrowIfConflictingItemExists( condition, _mapToNullConditions, (cdn, _) => cdn.GetConflictMessage()); MapToNullConditions.AddThenSort(condition); }