TunnelVisionLabs.Net.UriTemplate/VariableReference.cs
/// <summary>
/// Returns a string representation of the variable reference, in the format described in RFC 6570.
/// </summary>
/// <returns>
/// A string representation of the variable reference, in the format described in RFC 6570.
/// </returns>
Returns a string representation of the variable reference, in the format described in RFC 6570.
Returns a string representation of the variable reference in the format described in RFC 6570 .
public override string ToString()
        {
            if (_prefix.HasValue)
                return string.Format("{0}:{1}", _name, _prefix);
            if (_composite)
                return string.Format("{0}*", _name);
            return _name;
        }
public override string ToString ( ) { if ( _prefix . HasValue ) return string . Format ( " " , _name , _prefix ) ; if ( _composite ) return string . Format ( " " , _name ) ; return _name ; }
Returns a string representation of the variable reference, in the format described in RFC 6570.
Returns a string representation of the variable reference in the format described in RFC 6570 .
A string representation of the variable reference, in the format described in RFC 6570.
A string representation of the variable reference in the format described in RFC 6570 .