System.Net.Cache.HttpRequestCacheValidator.ParseValuesCallbackMethod C# (CSharp) Method

ParseValuesCallbackMethod() private static method

private static ParseValuesCallbackMethod ( string s, int start, int end, IList list ) : void
s string
start int
end int
list IList
return void
        private static void ParseValuesCallbackMethod(string s, int start, int end, IList list) {

            // Deal with the cases: '' ' ' 'value' 'value   '
            while (end >= start && s[end] == ' ') {
                --end;
            }
            if (end >= start) {
                list.Add(s.Substring(start, end-start+1));
            }
        }