System.Net.Http.Headers.CookieHeaderValue.GetSegmentValue C# (CSharp) Method

GetSegmentValue() private static method

private static GetSegmentValue ( string nameValuePair, string defaultValue ) : string
nameValuePair string
defaultValue string
return string
        private static string GetSegmentValue(string[] nameValuePair, string defaultValue)
        {
            Contract.Assert(nameValuePair != null);
            return nameValuePair.Length > 1 ? FormattingUtilities.UnquoteToken(nameValuePair[1]) : defaultValue;
        }