Example #1
0
        public string?Build()
        {
            if (!HasData())
            {
                return(null);
            }

            if (_sb == null)
            {
                _sb = new StringBuilder(25);
            }
            else
            {
                _sb.Clear();
            }

            _sb.Append(_type.GetMemberValue());

            if (_seconds > -1)
            {
                _sb.Append('=').Append(_seconds);
            }

            return(_sb.ToString());
        }