-
Notifications
You must be signed in to change notification settings - Fork 112
/
FileExtensionContentTypeProvider.xml
198 lines (198 loc) · 11.7 KB
/
FileExtensionContentTypeProvider.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
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
<Type Name="FileExtensionContentTypeProvider" FullName="Microsoft.AspNetCore.StaticFiles.FileExtensionContentTypeProvider">
<TypeSignature Language="C++ CLI" Value="public ref class FileExtensionContentTypeProvider : Microsoft::AspNetCore::StaticFiles::IContentTypeProvider" />
<TypeSignature Language="C#" Value="public class FileExtensionContentTypeProvider : Microsoft.AspNetCore.StaticFiles.IContentTypeProvider" />
<TypeSignature Language="ILAsm" Value=".class public auto ansi beforefieldinit FileExtensionContentTypeProvider extends System.Object implements class Microsoft.AspNetCore.StaticFiles.IContentTypeProvider" />
<TypeSignature Language="DocId" Value="T:Microsoft.AspNetCore.StaticFiles.FileExtensionContentTypeProvider" />
<TypeSignature Language="VB.NET" Value="Public Class FileExtensionContentTypeProvider
Implements IContentTypeProvider" />
<TypeSignature Language="F#" Value="type FileExtensionContentTypeProvider = class
 interface IContentTypeProvider" />
<AssemblyInfo>
<AssemblyName>Microsoft.AspNetCore.StaticFiles</AssemblyName>
<AssemblyVersion>1.0.0.0</AssemblyVersion>
<AssemblyVersion>1.1.0.0</AssemblyVersion>
<AssemblyVersion>2.0.0.0</AssemblyVersion>
<AssemblyVersion>2.1.0.0</AssemblyVersion>
<AssemblyVersion>2.2.0.0</AssemblyVersion>
<AssemblyVersion>3.0.0.0</AssemblyVersion>
<AssemblyVersion>3.1.0.0</AssemblyVersion>
<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>
</AssemblyInfo>
<Base>
<BaseTypeName>System.Object</BaseTypeName>
</Base>
<Interfaces>
<Interface>
<InterfaceName>Microsoft.AspNetCore.StaticFiles.IContentTypeProvider</InterfaceName>
</Interface>
</Interfaces>
<Attributes>
<Attribute FrameworkAlternate="aspnetcore-8.0;aspnetcore-9.0">
<AttributeName Language="C#">[System.Runtime.CompilerServices.Nullable(0)]</AttributeName>
<AttributeName Language="F#">[<System.Runtime.CompilerServices.Nullable(0)>]</AttributeName>
</Attribute>
<Attribute FrameworkAlternate="aspnetcore-8.0;aspnetcore-9.0">
<AttributeName Language="C#">[System.Runtime.CompilerServices.NullableContext(1)]</AttributeName>
<AttributeName Language="F#">[<System.Runtime.CompilerServices.NullableContext(1)>]</AttributeName>
</Attribute>
</Attributes>
<Docs>
<summary>
Provides a mapping between file extensions and MIME types.
</summary>
<remarks>To be added.</remarks>
</Docs>
<Members>
<Member MemberName=".ctor">
<MemberSignature Language="C++ CLI" Value="public:
 FileExtensionContentTypeProvider();" />
<MemberSignature Language="C#" Value="public FileExtensionContentTypeProvider ();" />
<MemberSignature Language="ILAsm" Value=".method public hidebysig specialname rtspecialname instance void .ctor() cil managed" />
<MemberSignature Language="DocId" Value="M:Microsoft.AspNetCore.StaticFiles.FileExtensionContentTypeProvider.#ctor" />
<MemberSignature Language="VB.NET" Value="Public Sub New ()" />
<MemberType>Constructor</MemberType>
<AssemblyInfo>
<AssemblyName>Microsoft.AspNetCore.StaticFiles</AssemblyName>
<AssemblyVersion>1.0.0.0</AssemblyVersion>
<AssemblyVersion>1.1.0.0</AssemblyVersion>
<AssemblyVersion>2.0.0.0</AssemblyVersion>
<AssemblyVersion>2.1.0.0</AssemblyVersion>
<AssemblyVersion>2.2.0.0</AssemblyVersion>
<AssemblyVersion>3.0.0.0</AssemblyVersion>
<AssemblyVersion>3.1.0.0</AssemblyVersion>
<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>
</AssemblyInfo>
<Parameters />
<Docs>
<summary>
Creates a new provider with a set of default mappings.
</summary>
<remarks>To be added.</remarks>
</Docs>
</Member>
<Member MemberName=".ctor">
<MemberSignature Language="C++ CLI" Value="public:
 FileExtensionContentTypeProvider(System::Collections::Generic::IDictionary<System::String ^, System::String ^> ^ mapping);" />
<MemberSignature Language="C#" Value="public FileExtensionContentTypeProvider (System.Collections.Generic.IDictionary<string,string> mapping);" />
<MemberSignature Language="ILAsm" Value=".method public hidebysig specialname rtspecialname instance void .ctor(class System.Collections.Generic.IDictionary`2<string, string> mapping) cil managed" />
<MemberSignature Language="DocId" Value="M:Microsoft.AspNetCore.StaticFiles.FileExtensionContentTypeProvider.#ctor(System.Collections.Generic.IDictionary{System.String,System.String})" />
<MemberSignature Language="VB.NET" Value="Public Sub New (mapping As IDictionary(Of String, String))" />
<MemberSignature Language="F#" Value="new Microsoft.AspNetCore.StaticFiles.FileExtensionContentTypeProvider : System.Collections.Generic.IDictionary<string, string> -> Microsoft.AspNetCore.StaticFiles.FileExtensionContentTypeProvider" Usage="new Microsoft.AspNetCore.StaticFiles.FileExtensionContentTypeProvider mapping" />
<MemberType>Constructor</MemberType>
<AssemblyInfo>
<AssemblyName>Microsoft.AspNetCore.StaticFiles</AssemblyName>
<AssemblyVersion>1.0.0.0</AssemblyVersion>
<AssemblyVersion>1.1.0.0</AssemblyVersion>
<AssemblyVersion>2.0.0.0</AssemblyVersion>
<AssemblyVersion>2.1.0.0</AssemblyVersion>
<AssemblyVersion>2.2.0.0</AssemblyVersion>
<AssemblyVersion>3.0.0.0</AssemblyVersion>
<AssemblyVersion>3.1.0.0</AssemblyVersion>
<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>
</AssemblyInfo>
<Parameters>
<Parameter Name="mapping" Type="System.Collections.Generic.IDictionary<System.String,System.String>" />
</Parameters>
<Docs>
<param name="mapping" />
<summary>
Creates a lookup engine using the provided mapping.
It is recommended that the IDictionary instance use StringComparer.OrdinalIgnoreCase.
</summary>
<remarks>To be added.</remarks>
</Docs>
</Member>
<Member MemberName="Mappings">
<MemberSignature Language="C++ CLI" Value="public:
 property System::Collections::Generic::IDictionary<System::String ^, System::String ^> ^ Mappings { System::Collections::Generic::IDictionary<System::String ^, System::String ^> ^ get(); };" />
<MemberSignature Language="C#" Value="public System.Collections.Generic.IDictionary<string,string> Mappings { get; }" />
<MemberSignature Language="ILAsm" Value=".property instance class System.Collections.Generic.IDictionary`2<string, string> Mappings" />
<MemberSignature Language="DocId" Value="P:Microsoft.AspNetCore.StaticFiles.FileExtensionContentTypeProvider.Mappings" />
<MemberSignature Language="VB.NET" Value="Public ReadOnly Property Mappings As IDictionary(Of String, String)" />
<MemberSignature Language="F#" Value="member this.Mappings : System.Collections.Generic.IDictionary<string, string>" Usage="Microsoft.AspNetCore.StaticFiles.FileExtensionContentTypeProvider.Mappings" />
<MemberType>Property</MemberType>
<AssemblyInfo>
<AssemblyName>Microsoft.AspNetCore.StaticFiles</AssemblyName>
<AssemblyVersion>1.0.0.0</AssemblyVersion>
<AssemblyVersion>1.1.0.0</AssemblyVersion>
<AssemblyVersion>2.0.0.0</AssemblyVersion>
<AssemblyVersion>2.1.0.0</AssemblyVersion>
<AssemblyVersion>2.2.0.0</AssemblyVersion>
<AssemblyVersion>3.0.0.0</AssemblyVersion>
<AssemblyVersion>3.1.0.0</AssemblyVersion>
<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>
</AssemblyInfo>
<ReturnValue>
<ReturnType>System.Collections.Generic.IDictionary<System.String,System.String></ReturnType>
</ReturnValue>
<Docs>
<summary>
The cross reference table of file extensions and content-types.
</summary>
<value>To be added.</value>
<remarks>To be added.</remarks>
</Docs>
</Member>
<Member MemberName="TryGetContentType">
<MemberSignature Language="C++ CLI" Value="public:
 virtual bool TryGetContentType(System::String ^ subpath, [Runtime::InteropServices::Out] System::String ^ % contentType);" />
<MemberSignature Language="C#" Value="public bool TryGetContentType (string subpath, out string contentType);" />
<MemberSignature Language="ILAsm" Value=".method public hidebysig newslot virtual instance bool TryGetContentType(string subpath, [out] string& contentType) cil managed" />
<MemberSignature Language="DocId" Value="M:Microsoft.AspNetCore.StaticFiles.FileExtensionContentTypeProvider.TryGetContentType(System.String,System.String@)" />
<MemberSignature Language="VB.NET" Value="Public Function TryGetContentType (subpath As String, ByRef contentType As String) As Boolean" />
<MemberSignature Language="F#" Value="abstract member TryGetContentType : string * string -> bool
override this.TryGetContentType : string * string -> bool" Usage="fileExtensionContentTypeProvider.TryGetContentType (subpath, contentType)" />
<MemberType>Method</MemberType>
<Implements>
<InterfaceMember>M:Microsoft.AspNetCore.StaticFiles.IContentTypeProvider.TryGetContentType(System.String,System.String@)</InterfaceMember>
</Implements>
<AssemblyInfo>
<AssemblyName>Microsoft.AspNetCore.StaticFiles</AssemblyName>
<AssemblyVersion>1.0.0.0</AssemblyVersion>
<AssemblyVersion>1.1.0.0</AssemblyVersion>
<AssemblyVersion>2.0.0.0</AssemblyVersion>
<AssemblyVersion>2.1.0.0</AssemblyVersion>
<AssemblyVersion>2.2.0.0</AssemblyVersion>
<AssemblyVersion>3.0.0.0</AssemblyVersion>
<AssemblyVersion>3.1.0.0</AssemblyVersion>
<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>
</AssemblyInfo>
<ReturnValue>
<ReturnType>System.Boolean</ReturnType>
</ReturnValue>
<Parameters>
<Parameter Name="subpath" Type="System.String" />
<Parameter Name="contentType" Type="System.String" RefType="out">
<Attributes>
<Attribute FrameworkAlternate="aspnetcore-6.0;aspnetcore-7.0;aspnetcore-8.0;aspnetcore-9.0">
<AttributeName Language="C#">[System.Diagnostics.CodeAnalysis.MaybeNullWhen(false)]</AttributeName>
<AttributeName Language="F#">[<System.Diagnostics.CodeAnalysis.MaybeNullWhen(false)>]</AttributeName>
</Attribute>
</Attributes>
</Parameter>
</Parameters>
<Docs>
<param name="subpath">A file path</param>
<param name="contentType">The resulting MIME type</param>
<summary>
Given a file path, determine the MIME type
</summary>
<returns>True if MIME type could be determined</returns>
<remarks>To be added.</remarks>
</Docs>
</Member>
</Members>
</Type>