static private CreateCopy ( System.Web.HttpCookieCollection cookieCollection, bool>.Func |
||
cookieCollection | System.Web.HttpCookieCollection | |
includeCallback | bool>.Func | |
return | string[][] |
internal static string[][] CreateCopy(HttpCookieCollection cookieCollection, Func<string, bool> includeCallback = null)
{
if (includeCallback == null)
{
includeCallback = x => false;
}
return cookieCollection.AllKeys
.Select(c => new string[] { c, Mask(includeCallback, cookieCollection[c].Name, cookieCollection[c].Value) }).ToArray();
}
FailOccurrenceFactory::CreateCopy ( |