4 instantiations of ProductInfoHeaderValue
Microsoft.DotNet.Helix.Sdk (1)
Helpers.cs (1)
12
new
ProductInfoHeaderValue
(new ProductHeaderValue("HelixSdk", ProductVersion));
System.Net.Http (3)
System\Net\Http\Headers\ProductInfoHeaderValue.cs (3)
144
parsedValue = new
ProductInfoHeaderValue
(comment);
158
parsedValue = new
ProductInfoHeaderValue
(product!);
166
return new
ProductInfoHeaderValue
(this);
17 references to ProductInfoHeaderValue
dotnet-svcutil-lib (1)
FrameworkFork\System.ServiceModel\System\ServiceModel\Channels\HttpChannelFactory.cs (1)
1132
_httpRequestMessage.Headers.UserAgent.Add(
ProductInfoHeaderValue
.Parse(value));
Microsoft.DotNet.Helix.Sdk (1)
Helpers.cs (1)
11
public static
ProductInfoHeaderValue
UserAgentHeaderValue =>
netstandard (1)
netstandard.cs (1)
1113
[assembly: System.Runtime.CompilerServices.TypeForwardedTo(typeof(System.Net.Http.Headers.
ProductInfoHeaderValue
))]
System.Net.Http (14)
System\Net\Http\Headers\HttpRequestHeaders.cs (2)
197
public HttpHeaderValueCollection<
ProductInfoHeaderValue
> UserAgent =>
198
GetSpecializedCollection(UserAgentSlot, static thisRef => new HttpHeaderValueCollection<
ProductInfoHeaderValue
>(KnownHeaders.UserAgent.Descriptor, thisRef));
System\Net\Http\Headers\HttpResponseHeaders.cs (2)
62
public HttpHeaderValueCollection<
ProductInfoHeaderValue
> Server =>
63
GetSpecializedCollection(ServerSlot, static thisRef => new HttpHeaderValueCollection<
ProductInfoHeaderValue
>(KnownHeaders.Server.Descriptor, thisRef));
System\Net\Http\Headers\ProductInfoHeaderParser.cs (2)
41
int length =
ProductInfoHeaderValue
.GetProductInfoLength(value, current, out
ProductInfoHeaderValue
? result);
System\Net\Http\Headers\ProductInfoHeaderValue.cs (8)
36
private ProductInfoHeaderValue(
ProductInfoHeaderValue
source)
56
ProductInfoHeaderValue
? other = obj as
ProductInfoHeaderValue
;
82
public static
ProductInfoHeaderValue
Parse(string input)
93
return (
ProductInfoHeaderValue
)result;
96
public static bool TryParse([NotNullWhen(true)] string input, [NotNullWhen(true)] out
ProductInfoHeaderValue
? parsedValue)
109
parsedValue = (
ProductInfoHeaderValue
)output;
115
internal static int GetProductInfoLength(string? input, int startIndex, out
ProductInfoHeaderValue
? parsedValue)