-
Notifications
You must be signed in to change notification settings - Fork 112
/
StreamCopyOperation.xml
130 lines (130 loc) · 10.3 KB
/
StreamCopyOperation.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
<Type Name="StreamCopyOperation" FullName="Microsoft.AspNetCore.Http.Extensions.StreamCopyOperation">
<TypeSignature Language="C++ CLI" Value="public ref class StreamCopyOperation abstract sealed" />
<TypeSignature Language="C#" Value="public static class StreamCopyOperation" />
<TypeSignature Language="ILAsm" Value=".class public auto ansi abstract sealed beforefieldinit StreamCopyOperation extends System.Object" />
<TypeSignature Language="DocId" Value="T:Microsoft.AspNetCore.Http.Extensions.StreamCopyOperation" />
<TypeSignature Language="VB.NET" Value="Public Class StreamCopyOperation" />
<TypeSignature Language="F#" Value="type StreamCopyOperation = class" />
<AssemblyInfo>
<AssemblyName>Microsoft.AspNetCore.Http.Extensions</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 />
<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 APIs to copy a range of bytes from a source <see cref="T:System.IO.Stream" /> to a destination <see cref="T:System.IO.Stream" />.
</summary>
<remarks>To be added.</remarks>
</Docs>
<Members>
<Member MemberName="CopyToAsync">
<MemberSignature Language="C++ CLI" Value="public:
 static System::Threading::Tasks::Task ^ CopyToAsync(System::IO::Stream ^ source, System::IO::Stream ^ destination, Nullable<long> count, System::Threading::CancellationToken cancel);" />
<MemberSignature Language="C#" Value="public static System.Threading.Tasks.Task CopyToAsync (System.IO.Stream source, System.IO.Stream destination, long? count, System.Threading.CancellationToken cancel);" />
<MemberSignature Language="ILAsm" Value=".method public static hidebysig class System.Threading.Tasks.Task CopyToAsync(class System.IO.Stream source, class System.IO.Stream destination, valuetype System.Nullable`1<int64> count, valuetype System.Threading.CancellationToken cancel) cil managed" />
<MemberSignature Language="DocId" Value="M:Microsoft.AspNetCore.Http.Extensions.StreamCopyOperation.CopyToAsync(System.IO.Stream,System.IO.Stream,System.Nullable{System.Int64},System.Threading.CancellationToken)" />
<MemberSignature Language="VB.NET" Value="Public Shared Function CopyToAsync (source As Stream, destination As Stream, count As Nullable(Of Long), cancel As CancellationToken) As Task" />
<MemberSignature Language="F#" Value="static member CopyToAsync : System.IO.Stream * System.IO.Stream * Nullable<int64> * System.Threading.CancellationToken -> System.Threading.Tasks.Task" Usage="Microsoft.AspNetCore.Http.Extensions.StreamCopyOperation.CopyToAsync (source, destination, count, cancel)" />
<MemberType>Method</MemberType>
<AssemblyInfo>
<AssemblyName>Microsoft.AspNetCore.Http.Extensions</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.Threading.Tasks.Task</ReturnType>
</ReturnValue>
<Parameters>
<Parameter Name="source" Type="System.IO.Stream" />
<Parameter Name="destination" Type="System.IO.Stream" />
<Parameter Name="count" Type="System.Nullable<System.Int64>" />
<Parameter Name="cancel" Type="System.Threading.CancellationToken" />
</Parameters>
<Docs>
<param name="source">The stream from which the contents will be copied.</param>
<param name="destination">The stream to which the contents of the current stream will be copied.</param>
<param name="count">The count of bytes to be copied.</param>
<param name="cancel">The token to monitor for cancellation requests. The default value is <see cref="P:System.Threading.CancellationToken.None" />.</param>
<summary>Asynchronously reads the given number of bytes from the source stream and writes them to another stream.</summary>
<returns>A task that represents the asynchronous copy operation.</returns>
<remarks>To be added.</remarks>
</Docs>
</Member>
<Member MemberName="CopyToAsync">
<MemberSignature Language="C++ CLI" Value="public:
 static System::Threading::Tasks::Task ^ CopyToAsync(System::IO::Stream ^ source, System::IO::Stream ^ destination, Nullable<long> count, int bufferSize, System::Threading::CancellationToken cancel);" />
<MemberSignature Language="C#" Value="public static System.Threading.Tasks.Task CopyToAsync (System.IO.Stream source, System.IO.Stream destination, long? count, int bufferSize, System.Threading.CancellationToken cancel);" />
<MemberSignature Language="ILAsm" Value=".method public static hidebysig class System.Threading.Tasks.Task CopyToAsync(class System.IO.Stream source, class System.IO.Stream destination, valuetype System.Nullable`1<int64> count, int32 bufferSize, valuetype System.Threading.CancellationToken cancel) cil managed" />
<MemberSignature Language="DocId" Value="M:Microsoft.AspNetCore.Http.Extensions.StreamCopyOperation.CopyToAsync(System.IO.Stream,System.IO.Stream,System.Nullable{System.Int64},System.Int32,System.Threading.CancellationToken)" />
<MemberSignature Language="VB.NET" Value="Public Shared Function CopyToAsync (source As Stream, destination As Stream, count As Nullable(Of Long), bufferSize As Integer, cancel As CancellationToken) As Task" />
<MemberSignature Language="F#" Value="static member CopyToAsync : System.IO.Stream * System.IO.Stream * Nullable<int64> * int * System.Threading.CancellationToken -> System.Threading.Tasks.Task" Usage="Microsoft.AspNetCore.Http.Extensions.StreamCopyOperation.CopyToAsync (source, destination, count, bufferSize, cancel)" />
<MemberType>Method</MemberType>
<AssemblyInfo>
<AssemblyName>Microsoft.AspNetCore.Http.Extensions</AssemblyName>
<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.Threading.Tasks.Task</ReturnType>
</ReturnValue>
<Parameters>
<Parameter Name="source" Type="System.IO.Stream" Index="0" FrameworkAlternate="aspnetcore-1.1;aspnetcore-2.0;aspnetcore-2.1;aspnetcore-2.2;aspnetcore-3.0;aspnetcore-3.1;aspnetcore-5.0;aspnetcore-6.0;aspnetcore-7.0;aspnetcore-8.0;aspnetcore-9.0" />
<Parameter Name="destination" Type="System.IO.Stream" Index="1" FrameworkAlternate="aspnetcore-1.1;aspnetcore-2.0;aspnetcore-2.1;aspnetcore-2.2;aspnetcore-3.0;aspnetcore-3.1;aspnetcore-5.0;aspnetcore-6.0;aspnetcore-7.0;aspnetcore-8.0;aspnetcore-9.0" />
<Parameter Name="count" Type="System.Nullable<System.Int64>" Index="2" FrameworkAlternate="aspnetcore-1.1;aspnetcore-2.0;aspnetcore-2.1;aspnetcore-2.2;aspnetcore-3.0;aspnetcore-3.1;aspnetcore-5.0;aspnetcore-6.0;aspnetcore-7.0;aspnetcore-8.0;aspnetcore-9.0" />
<Parameter Name="bufferSize" Type="System.Int32" Index="3" FrameworkAlternate="aspnetcore-1.1;aspnetcore-2.0;aspnetcore-2.1;aspnetcore-2.2;aspnetcore-3.0;aspnetcore-3.1;aspnetcore-5.0;aspnetcore-6.0;aspnetcore-7.0;aspnetcore-8.0;aspnetcore-9.0" />
<Parameter Name="cancel" Type="System.Threading.CancellationToken" Index="4" FrameworkAlternate="aspnetcore-1.1;aspnetcore-2.0;aspnetcore-2.1;aspnetcore-2.2;aspnetcore-3.0;aspnetcore-3.1;aspnetcore-5.0;aspnetcore-6.0;aspnetcore-7.0;aspnetcore-8.0;aspnetcore-9.0" />
</Parameters>
<Docs>
<param name="source">The stream from which the contents will be copied.</param>
<param name="destination">The stream to which the contents of the current stream will be copied.</param>
<param name="count">The count of bytes to be copied.</param>
<param name="bufferSize">The size, in bytes, of the buffer. This value must be greater than zero. The default size is 4096.</param>
<param name="cancel">The token to monitor for cancellation requests. The default value is <see cref="P:System.Threading.CancellationToken.None" />.</param>
<summary>Asynchronously reads the given number of bytes from the source stream and writes them to another stream, using a specified buffer size.</summary>
<returns>A task that represents the asynchronous copy operation.</returns>
<remarks>To be added.</remarks>
</Docs>
</Member>
</Members>
</Type>