CacheControlHeaderValue Class¶
- Namespace
Microsoft.Net.Http.Headers- Assemblies
- Microsoft.Net.Http.Headers
Syntax¶
public class CacheControlHeaderValue
-
class
Microsoft.Net.Http.Headers.CacheControlHeaderValue
Constructors¶
-
CacheControlHeaderValue()¶ public CacheControlHeaderValue()
-
Methods¶
-
Equals(System.Object)¶ Return type: System.Boolean public override bool Equals(object obj)
-
GetHashCode()¶ Return type: System.Int32 public override int GetHashCode()
-
Parse(System.String)¶ Return type: Microsoft.Net.Http.Headers.CacheControlHeaderValue public static CacheControlHeaderValue Parse(string input)
-
ToString()¶ Return type: System.String public override string ToString()
-
TryParse(System.String, out Microsoft.Net.Http.Headers.CacheControlHeaderValue)¶ Return type: System.Boolean public static bool TryParse(string input, out CacheControlHeaderValue parsedValue)
-
Properties¶
-
Microsoft.Net.Http.Headers.CacheControlHeaderValue.Extensions¶ Return type: System.Collections.Generic.IList<Microsoft.Net.Http.Headers.NameValueHeaderValue> public IList<NameValueHeaderValue> Extensions { get; }
-
Microsoft.Net.Http.Headers.CacheControlHeaderValue.MaxAge¶ Return type: System.Nullable<System.TimeSpan> public TimeSpan? MaxAge { get; set; }
-
Microsoft.Net.Http.Headers.CacheControlHeaderValue.MaxStale¶ Return type: System.Boolean public bool MaxStale { get; set; }
-
Microsoft.Net.Http.Headers.CacheControlHeaderValue.MaxStaleLimit¶ Return type: System.Nullable<System.TimeSpan> public TimeSpan? MaxStaleLimit { get; set; }
-
Microsoft.Net.Http.Headers.CacheControlHeaderValue.MinFresh¶ Return type: System.Nullable<System.TimeSpan> public TimeSpan? MinFresh { get; set; }
-
Microsoft.Net.Http.Headers.CacheControlHeaderValue.MustRevalidate¶ Return type: System.Boolean public bool MustRevalidate { get; set; }
-
Microsoft.Net.Http.Headers.CacheControlHeaderValue.NoCache¶ Return type: System.Boolean public bool NoCache { get; set; }
-
Microsoft.Net.Http.Headers.CacheControlHeaderValue.NoCacheHeaders¶ Return type: System.Collections.Generic.ICollection<System.String> public ICollection<string> NoCacheHeaders { get; }
-
Microsoft.Net.Http.Headers.CacheControlHeaderValue.NoStore¶ Return type: System.Boolean public bool NoStore { get; set; }
-
Microsoft.Net.Http.Headers.CacheControlHeaderValue.NoTransform¶ Return type: System.Boolean public bool NoTransform { get; set; }
-
Microsoft.Net.Http.Headers.CacheControlHeaderValue.OnlyIfCached¶ Return type: System.Boolean public bool OnlyIfCached { get; set; }
-
Microsoft.Net.Http.Headers.CacheControlHeaderValue.Private¶ Return type: System.Boolean public bool Private { get; set; }
-
Microsoft.Net.Http.Headers.CacheControlHeaderValue.PrivateHeaders¶ Return type: System.Collections.Generic.ICollection<System.String> public ICollection<string> PrivateHeaders { get; }
-
Microsoft.Net.Http.Headers.CacheControlHeaderValue.ProxyRevalidate¶ Return type: System.Boolean public bool ProxyRevalidate { get; set; }
-
Microsoft.Net.Http.Headers.CacheControlHeaderValue.Public¶ Return type: System.Boolean public bool Public { get; set; }
Return type: System.Nullable<System.TimeSpan> public TimeSpan? SharedMaxAge { get; set; }
-