Flatwhite.WebApi.OutputCacheAttribute.GetAllVaryCustomKey C# (CSharp) Метод

GetAllVaryCustomKey() публичный Метод

Get all vary by custom string
public GetAllVaryCustomKey ( ) : string
Результат string
        public virtual string GetAllVaryCustomKey()
        {
            var varyByHeaders = (VaryByHeader ?? "").Split(new[] {',', ' '}, StringSplitOptions.RemoveEmptyEntries);
            return $"{VaryByCustom}, {string.Join(", ", varyByHeaders.Select(h => $"headers.{h}"))}";
        }
    }