public IPreparationProcessBuilder WithProhibitedValueStep(IValueRangeTable prohibitedTable)
        {
            var step = new ProhibitedValueStep(prohibitedTable);

            _steps.Add(step);
            return(this);
        }
Exemplo n.º 2
0
        public IPreparationProcessBuilder WithBidirectionalStep(IValueRangeTable prohibited, IValueRangeTable ral, IValueRangeTable l)
        {
            var step = new BidirectionalStep(prohibited, ral, l);

            _steps.Add(step);
            return(this);
        }
 /// <summary>
 ///     Initializes a new instance of the <see cref="BidirectionalStep" /> class
 /// </summary>
 /// <param name="prohibitedTable">Prohibited character table</param>
 /// <param name="ralTable">RandAL character table</param>
 /// <param name="lTable">L character table</param>
 public BidirectionalStep(IValueRangeTable prohibitedTable, IValueRangeTable ralTable, IValueRangeTable lTable)
 {
     _prohibitedTable = prohibitedTable;
     _ralTable        = ralTable;
     _lTable          = lTable;
 }
 public ProhibitedValueStep(IValueRangeTable table)
 {
     _table = table;
 }
 /// <summary>
 ///     Initializes a new instance of the <see cref="ValueRangeMappingTable"/> class.
 /// </summary>
 /// <param name="valueRange">Value range table.</param>
 /// <param name="replacement">Replacement table.</param>
 internal ValueRangeMappingTable(IValueRangeTable valueRange, int[] replacement)
 {
     _valueRange  = valueRange;
     _replacement = replacement;
 }