-
Notifications
You must be signed in to change notification settings - Fork 112
/
FileContentResult.xml
87 lines (87 loc) · 4.88 KB
/
FileContentResult.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
<Type Name="FileContentResult" FullName="System.Web.Mvc.FileContentResult">
<TypeSignature Language="C#" Value="public class FileContentResult : System.Web.Mvc.FileResult" />
<TypeSignature Language="ILAsm" Value=".class public auto ansi beforefieldinit FileContentResult extends System.Web.Mvc.FileResult" />
<TypeSignature Language="DocId" Value="T:System.Web.Mvc.FileContentResult" />
<TypeSignature Language="VB.NET" Value="Public Class FileContentResult
Inherits FileResult" />
<TypeSignature Language="F#" Value="type FileContentResult = class
 inherit FileResult" />
<AssemblyInfo>
<AssemblyName>System.Web.Mvc</AssemblyName>
<AssemblyVersion>5.2.6.0</AssemblyVersion>
</AssemblyInfo>
<Base>
<BaseTypeName>System.Web.Mvc.FileResult</BaseTypeName>
</Base>
<Interfaces />
<Docs>
<summary>Sends the contents of a binary file to the response.</summary>
<remarks>To be added.</remarks>
</Docs>
<Members>
<Member MemberName=".ctor">
<MemberSignature Language="C#" Value="public FileContentResult (byte[] fileContents, string contentType);" />
<MemberSignature Language="ILAsm" Value=".method public hidebysig specialname rtspecialname instance void .ctor(unsigned int8[] fileContents, string contentType) cil managed" />
<MemberSignature Language="DocId" Value="M:System.Web.Mvc.FileContentResult.#ctor(System.Byte[],System.String)" />
<MemberSignature Language="VB.NET" Value="Public Sub New (fileContents As Byte(), contentType As String)" />
<MemberSignature Language="F#" Value="new System.Web.Mvc.FileContentResult : byte[] * string -> System.Web.Mvc.FileContentResult" Usage="new System.Web.Mvc.FileContentResult (fileContents, contentType)" />
<MemberType>Constructor</MemberType>
<AssemblyInfo>
<AssemblyName>System.Web.Mvc</AssemblyName>
<AssemblyVersion>5.2.6.0</AssemblyVersion>
</AssemblyInfo>
<Parameters>
<Parameter Name="fileContents" Type="System.Byte[]" />
<Parameter Name="contentType" Type="System.String" />
</Parameters>
<Docs>
<param name="fileContents">The byte array to send to the response.</param>
<param name="contentType">The content type to use for the response.</param>
<summary>Initializes a new instance of the <see cref="T:System.Web.Mvc.FileContentResult" /> class by using the specified file contents and content type.</summary>
<remarks>To be added.</remarks>
<exception cref="T:System.ArgumentNullException">The <paramref name="fileContents" /> parameter is null.</exception>
</Docs>
</Member>
<Member MemberName="FileContents">
<MemberSignature Language="C#" Value="public byte[] FileContents { get; }" />
<MemberSignature Language="ILAsm" Value=".property instance unsigned int8[] FileContents" />
<MemberSignature Language="DocId" Value="P:System.Web.Mvc.FileContentResult.FileContents" />
<MemberSignature Language="VB.NET" Value="Public ReadOnly Property FileContents As Byte()" />
<MemberSignature Language="F#" Value="member this.FileContents : byte[]" Usage="System.Web.Mvc.FileContentResult.FileContents" />
<MemberType>Property</MemberType>
<AssemblyInfo>
<AssemblyName>System.Web.Mvc</AssemblyName>
<AssemblyVersion>5.2.6.0</AssemblyVersion>
</AssemblyInfo>
<ReturnValue>
<ReturnType>System.Byte[]</ReturnType>
</ReturnValue>
<Docs>
<summary>The binary content to send to the response.</summary>
<value>The file contents.</value>
<remarks>To be added.</remarks>
</Docs>
</Member>
<Member MemberName="WriteFile">
<MemberSignature Language="C#" Value="protected override void WriteFile (System.Web.HttpResponseBase response);" />
<MemberSignature Language="ILAsm" Value=".method familyhidebysig virtual instance void WriteFile(class System.Web.HttpResponseBase response) cil managed" />
<MemberSignature Language="DocId" Value="M:System.Web.Mvc.FileContentResult.WriteFile(System.Web.HttpResponseBase)" />
<MemberSignature Language="VB.NET" Value="Protected Overrides Sub WriteFile (response As HttpResponseBase)" />
<MemberSignature Language="F#" Value="override this.WriteFile : System.Web.HttpResponseBase -> unit" Usage="fileContentResult.WriteFile response" />
<MemberType>Method</MemberType>
<AssemblyInfo>
<AssemblyName>System.Web.Mvc</AssemblyName>
<AssemblyVersion>5.2.6.0</AssemblyVersion>
</AssemblyInfo>
<ReturnValue>
<ReturnType>System.Void</ReturnType>
</ReturnValue>
<Parameters>
<Parameter Name="response" Type="System.Web.HttpResponseBase" />
</Parameters>
<Docs>
<param name="response">The response.</param>
<summary>Writes the file content to the response.</summary>
<remarks>To be added.</remarks>
</Docs>
</Member>
</Members>
</Type>