1 write to _parent
System.Net.Http (1)
System\Net\Http\Headers\HttpGeneralHeaders.cs (1)
153
_parent
= parent;
19 references to _parent
System.Net.Http (19)
System\Net\Http\Headers\HttpGeneralHeaders.cs (19)
25
get { return (CacheControlHeaderValue?)
_parent
.GetSingleParsedValue(KnownHeaders.CacheControl.Descriptor); }
26
set {
_parent
.SetOrRemoveParsedValue(KnownHeaders.CacheControl.Descriptor, value); }
36
return GetConnectionClose(
_parent
, this);
43
if (!
_parent
.ContainsParsedValue(KnownHeaders.Connection.Descriptor, HeaderUtilities.ConnectionClose))
45
_parent
.AddParsedValue(KnownHeaders.Connection.Descriptor, HeaderUtilities.ConnectionClose);
52
_parent
.RemoveParsedValue(KnownHeaders.Connection.Descriptor, HeaderUtilities.ConnectionClose);
72
get { return HeaderUtilities.GetDateTimeOffsetValue(KnownHeaders.Date.Descriptor,
_parent
); }
73
set {
_parent
.SetOrRemoveParsedValue(KnownHeaders.Date.Descriptor, value); }
77
_pragma ??= new HttpHeaderValueCollection<NameValueHeaderValue>(KnownHeaders.Pragma.Descriptor,
_parent
);
80
_trailer ??= new HttpHeaderValueCollection<string>(KnownHeaders.Trailer.Descriptor,
_parent
);
113
return GetTransferEncodingChunked(
_parent
, this);
120
if (!
_parent
.ContainsParsedValue(KnownHeaders.TransferEncoding.Descriptor, HeaderUtilities.TransferEncodingChunked))
122
_parent
.AddParsedValue(KnownHeaders.TransferEncoding.Descriptor, HeaderUtilities.TransferEncodingChunked);
129
_parent
.RemoveParsedValue(KnownHeaders.TransferEncoding.Descriptor, HeaderUtilities.TransferEncodingChunked);
135
_upgrade ??= new HttpHeaderValueCollection<ProductHeaderValue>(KnownHeaders.Upgrade.Descriptor,
_parent
);
138
_via ??= new HttpHeaderValueCollection<ViaHeaderValue>(KnownHeaders.Via.Descriptor,
_parent
);
141
_warning ??= new HttpHeaderValueCollection<WarningHeaderValue>(KnownHeaders.Warning.Descriptor,
_parent
);
144
_connection ??= new HttpHeaderValueCollection<string>(KnownHeaders.Connection.Descriptor,
_parent
);
147
_transferEncoding ??= new HttpHeaderValueCollection<TransferCodingHeaderValue>(KnownHeaders.TransferEncoding.Descriptor,
_parent
);