Exemplo n.º 1
0
        public void Write(IRecordWriter writer, string value)
        {
            if (_maximumLength != null)
            {
                value = _maximumLength.Write(value);
            }

            if (_minimumLength != null)
            {
                value = _minimumLength.Write(value);
            }

            writer.Write(value, 0, _index);
        }
Exemplo n.º 2
0
        public void Write(IRecordWriter writer, string value)
        {
            if (_maximumLength != null)
            {
                value = _maximumLength.Write(value);
            }

            if (_minimumLength != null)
            {
                value = _minimumLength.Write(value);
            }

            writer.Write(value, _position, 0);
        }