Пример #1
0
        internal TruncateStringWith(TruncateString truncateString, string value)
        {
            _truncateString = truncateString;
            _value          = value;

            if (!_value.IsEmpty())
            {
                _truncateString.TargetLength -= _value.Length;
            }
        }
Пример #2
0
        internal TruncateStringWith(TruncateString truncateString, string value)
        {
            _truncateString = truncateString;
            _value = value;

            if (!_value.IsEmpty())
            {
                _truncateString.Length -= _value.Length;
            }
        }
Пример #3
0
 internal TruncateStringFrom(TruncateString truncateString, The position)
 {
     _truncateString = truncateString;
     _position = position;
 }
Пример #4
0
 internal TruncateStringFrom(TruncateString truncateString, The position)
 {
     _truncateString = truncateString;
     _position       = position;
 }