Microsoft.Http.Headers.CacheControl.Make C# (CSharp) Méthode

Make() static private méthode

static private Make ( string prefix, System.TimeSpan delta ) : string
prefix string
delta System.TimeSpan
Résultat string
        static string Make(string prefix, TimeSpan delta)
        {
            if (delta == null)
            {
                return prefix;
            }
            return prefix + "=" + HeaderFormatter.Default.ToString(delta);
        }

Same methods

CacheControl::Make ( string prefix, Collection fields ) : string