forked from dotnet/dotnet-api-docs
-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy pathHeaderEncodingSelector`1.xml
More file actions
33 lines (33 loc) · 1.96 KB
/
HeaderEncodingSelector`1.xml
File metadata and controls
33 lines (33 loc) · 1.96 KB
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
<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="C++ CLI" Value="generic <typename TContext>
public delegate System::Text::Encoding ^ HeaderEncodingSelector(System::String ^ headerName, TContext context);" />
<TypeSignature Language="F#" Value="type HeaderEncodingSelector<'Context> = delegate of string * 'Context -> Encoding" />
<AssemblyInfo>
<AssemblyName>System.Net.Http</AssemblyName>
<AssemblyVersion>5.0.0.0</AssemblyVersion>
</AssemblyInfo>
<TypeParameters>
<TypeParameter Name="TContext" />
</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>
</ReturnValue>
<Docs>
<typeparam name="TContext">To be added.</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>