public ArabianToRomanNumberDecoder(IDecodingReferential <int, string> dataProvider, int decodableRest)
     : base(dataProvider, decodableRest)
 {
     _returnValue = string.Empty;
 }
Пример #2
0
 protected BaseDecoder(IDecodingReferential <TIn, TOut> decodingData, TIn decodableRest)
 {
     _decodableRest = decodableRest;
     DecodingData   = decodingData;
 }
 public IDecoder<string, int> Create(IDecodingReferential<string, int> referential, string toBeDecoded)
 {
     return new RomanToArabianNumberDecoder(referential, toBeDecoded);
 }
Пример #4
0
 public RomanToArabianNumberDecoder(IDecodingReferential <string, int> dataProvider, string decodableRest)
     : base(dataProvider, decodableRest)
 {
 }
Пример #5
0
 public IDecoder <int, string> Create(IDecodingReferential <int, string> referential, int toBeDecoded)
 {
     return(new ArabianToRomanNumberDecoder(referential, toBeDecoded));
 }