forked from dotnet/dotnet-api-docs
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathHeaderEncodingSelector`1.xml
51 lines (51 loc) · 2.88 KB
/
HeaderEncodingSelector`1.xml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
<Type Name="HeaderEncodingSelector<TContext>" FullName="System.Net.Http.HeaderEncodingSelector<TContext>">
<TypeSignature Language="C#" Value="public delegate System.Text.Encoding? HeaderEncodingSelector<TContext>(string headerName, TContext context);" />
<TypeSignature Language="ILAsm" Value=".class public auto ansi sealed HeaderEncodingSelector`1<TContext> extends System.MulticastDelegate" />
<TypeSignature Language="DocId" Value="T:System.Net.Http.HeaderEncodingSelector`1" />
<TypeSignature Language="VB.NET" Value="Public Delegate Function HeaderEncodingSelector(Of TContext)(headerName As String, context As TContext) As Encoding " />
<TypeSignature Language="F#" Value="type HeaderEncodingSelector<'Context> = delegate of string * 'Context -> Encoding" />
<TypeSignature Language="C++ CLI" Value="generic <typename TContext>
public delegate System::Text::Encoding ^ HeaderEncodingSelector(System::String ^ headerName, TContext context);" />
<AssemblyInfo>
<AssemblyName>System.Net.Http</AssemblyName>
<AssemblyVersion>5.0.0.0</AssemblyVersion>
<AssemblyVersion>6.0.0.0</AssemblyVersion>
<AssemblyVersion>7.0.0.0</AssemblyVersion>
<AssemblyVersion>8.0.0.0</AssemblyVersion>
<AssemblyVersion>9.0.0.0</AssemblyVersion>
<AssemblyVersion>10.0.0.0</AssemblyVersion>
</AssemblyInfo>
<TypeParameters>
<TypeParameter Name="TContext">
<Attributes>
<Attribute FrameworkAlternate="net-10.0;net-8.0;net-9.0">
<AttributeName Language="C#">[System.Runtime.CompilerServices.Nullable(2)]</AttributeName>
<AttributeName Language="F#">[<System.Runtime.CompilerServices.Nullable(2)>]</AttributeName>
</Attribute>
</Attributes>
</TypeParameter>
</TypeParameters>
<Base>
<BaseTypeName>System.Delegate</BaseTypeName>
</Base>
<Parameters>
<Parameter Name="headerName" Type="System.String" />
<Parameter Name="context" Type="TContext" />
</Parameters>
<ReturnValue>
<ReturnType>System.Text.Encoding</ReturnType>
<Attributes>
<Attribute FrameworkAlternate="net-10.0">
<AttributeName Language="C#">[System.Runtime.CompilerServices.Nullable(2)]</AttributeName>
<AttributeName Language="F#">[<System.Runtime.CompilerServices.Nullable(2)>]</AttributeName>
</Attribute>
</Attributes>
</ReturnValue>
<Docs>
<typeparam name="TContext">The type of the headers that are being encoded/decoded.</typeparam>
<param name="headerName">The name of the header to specify for the encoding.</param>
<param name="context">The type we are encoding/decoding the headers for.</param>
<summary>Represents a method that specifies the encoding to use when interpreting header values.</summary>
<returns>The encoding to use, or <see langword="null" /> to use the default behavior.</returns>
<remarks>To be added.</remarks>
</Docs>
</Type>