コード例 #1
0
        public void Add(MapToNullCondition condition)
        {
            var conditions = MapToNullConditions;

            ThrowIfConflictingItemExists(condition, conditions, (c, cC) => c.GetConflictMessage());

            conditions.AddThenSort(condition);
        }
コード例 #2
0
        public void Add(MapToNullCondition condition)
        {
            ThrowIfConflictingItemExists(
                condition,
                _mapToNullConditions,
                (cdn, _) => cdn.GetConflictMessage());

            MapToNullConditions.AddThenSort(condition);
        }