206 lines
10 KiB
XML
206 lines
10 KiB
XML
|
<?xml version="1.0" encoding="utf-8"?>
|
||
|
<Type Name="RangeItemHeaderValue" FullName="System.Net.Http.Headers.RangeItemHeaderValue">
|
||
|
<TypeSignature Language="C#" Value="public class RangeItemHeaderValue : ICloneable" />
|
||
|
<TypeSignature Language="ILAsm" Value=".class public auto ansi beforefieldinit RangeItemHeaderValue extends System.Object implements class System.ICloneable" />
|
||
|
<AssemblyInfo>
|
||
|
<AssemblyName>System.Net.Http</AssemblyName>
|
||
|
<AssemblyVersion>4.0.0.0</AssemblyVersion>
|
||
|
</AssemblyInfo>
|
||
|
<Base>
|
||
|
<BaseTypeName>System.Object</BaseTypeName>
|
||
|
</Base>
|
||
|
<Interfaces>
|
||
|
<Interface>
|
||
|
<InterfaceName>System.ICloneable</InterfaceName>
|
||
|
</Interface>
|
||
|
</Interfaces>
|
||
|
<Docs>
|
||
|
<remarks>
|
||
|
<attribution license="cc4" from="Microsoft" modified="false" />
|
||
|
<para>The <see cref="T:System.Net.Http.Headers.RangeHeaderValue" /> class provides support for a byte range in a Range header as defined in <see cref="http://go.microsoft.com/fwlink/?LinkID=241642">RFC 2616</see> by the IETF. </para>
|
||
|
<para>A Range header can specify multiple byte ranges.</para>
|
||
|
<para>An example of a byte-range in a Range header in an HTTP protocol request that requests the first 100 bytes would be would be the following: </para>
|
||
|
<para>Range: bytes=0-99\r\n\r\n</para>
|
||
|
<para>A HTTP server indicates support for Range headers with the Accept-Ranges header. An example of the Accept-Ranges header from a server that supports byte-ranges would be as follows:</para>
|
||
|
<para>Accept-Ranges: bytes\r\n\r\n</para>
|
||
|
<para>If an Accept-Ranges header is not received in the header of the response from the server, then the server does not support Range headers. An example of the Accept-Ranges header from a server that does not support ranges, but recognizes the Accept-Ranges header, would be as follows:</para>
|
||
|
<para>Accept-Ranges: none\r\n\r\n</para>
|
||
|
</remarks>
|
||
|
<summary>
|
||
|
<attribution license="cc4" from="Microsoft" modified="false" />
|
||
|
<para>Represents a byte range in a Range header value.</para>
|
||
|
</summary>
|
||
|
</Docs>
|
||
|
<Members>
|
||
|
<Member MemberName=".ctor">
|
||
|
<MemberSignature Language="C#" Value="public RangeItemHeaderValue (Nullable<long> from, Nullable<long> to);" />
|
||
|
<MemberSignature Language="ILAsm" Value=".method public hidebysig specialname rtspecialname instance void .ctor(valuetype System.Nullable`1<int64> from, valuetype System.Nullable`1<int64> to) cil managed" />
|
||
|
<MemberType>Constructor</MemberType>
|
||
|
<AssemblyInfo>
|
||
|
<AssemblyVersion>4.0.0.0</AssemblyVersion>
|
||
|
</AssemblyInfo>
|
||
|
<Parameters>
|
||
|
<Parameter Name="from" Type="System.Nullable<System.Int64>" />
|
||
|
<Parameter Name="to" Type="System.Nullable<System.Int64>" />
|
||
|
</Parameters>
|
||
|
<Docs>
|
||
|
<remarks>
|
||
|
<attribution license="cc4" from="Microsoft" modified="false" />
|
||
|
<para>An example of a byte-range in a Range header in an HTTP protocol request that requests the first 100 bytes would be would be the following: </para>
|
||
|
<para>Range: bytes=0-99\r\n\r\n</para>
|
||
|
<para>For this example, the <paramref name="from" /> parameter would be specified as 0 and the <paramref name="to" /> parameter would be specified as 99. </para>
|
||
|
</remarks>
|
||
|
<summary>
|
||
|
<attribution license="cc4" from="Microsoft" modified="false" />
|
||
|
<para>Initializes a new instance of the <see cref="T:System.Net.Http.Headers.RangeItemHeaderValue" /> class.</para>
|
||
|
</summary>
|
||
|
<param name="from">
|
||
|
<attribution license="cc4" from="Microsoft" modified="false" />The position at which to start sending data.</param>
|
||
|
<param name="to">
|
||
|
<attribution license="cc4" from="Microsoft" modified="false" />The position at which to stop sending data.</param>
|
||
|
</Docs>
|
||
|
</Member>
|
||
|
<Member MemberName="Equals">
|
||
|
<MemberSignature Language="C#" Value="public override bool Equals (object obj);" />
|
||
|
<MemberSignature Language="ILAsm" Value=".method public hidebysig virtual instance bool Equals(object obj) cil managed" />
|
||
|
<MemberType>Method</MemberType>
|
||
|
<AssemblyInfo>
|
||
|
<AssemblyVersion>4.0.0.0</AssemblyVersion>
|
||
|
</AssemblyInfo>
|
||
|
<ReturnValue>
|
||
|
<ReturnType>System.Boolean</ReturnType>
|
||
|
</ReturnValue>
|
||
|
<Parameters>
|
||
|
<Parameter Name="obj" Type="System.Object" />
|
||
|
</Parameters>
|
||
|
<Docs>
|
||
|
<remarks>To be added.</remarks>
|
||
|
<summary>
|
||
|
<attribution license="cc4" from="Microsoft" modified="false" />
|
||
|
<para>Determines whether the specified <see cref="T:System.Object" /> is equal to the current <see cref="T:System.Net.Http.Headers.RangeItemHeaderValue" /> object.</para>
|
||
|
</summary>
|
||
|
<returns>
|
||
|
<attribution license="cc4" from="Microsoft" modified="false" />
|
||
|
<para>Returns <see cref="T:System.Boolean" />.</para>
|
||
|
<para>true if the specified <see cref="T:System.Object" /> is equal to the current object; otherwise, false.</para>
|
||
|
</returns>
|
||
|
<param name="obj">
|
||
|
<attribution license="cc4" from="Microsoft" modified="false" />The object to compare with the current object.</param>
|
||
|
</Docs>
|
||
|
</Member>
|
||
|
<Member MemberName="From">
|
||
|
<MemberSignature Language="C#" Value="public Nullable<long> From { get; }" />
|
||
|
<MemberSignature Language="ILAsm" Value=".property instance valuetype System.Nullable`1<int64> From" />
|
||
|
<MemberType>Property</MemberType>
|
||
|
<AssemblyInfo>
|
||
|
<AssemblyVersion>4.0.0.0</AssemblyVersion>
|
||
|
</AssemblyInfo>
|
||
|
<ReturnValue>
|
||
|
<ReturnType>System.Nullable<System.Int64></ReturnType>
|
||
|
</ReturnValue>
|
||
|
<Docs>
|
||
|
<value>To be added.</value>
|
||
|
<remarks>To be added.</remarks>
|
||
|
<summary>
|
||
|
<attribution license="cc4" from="Microsoft" modified="false" />
|
||
|
<para>Gets the position at which to start sending data.</para>
|
||
|
</summary>
|
||
|
</Docs>
|
||
|
</Member>
|
||
|
<Member MemberName="GetHashCode">
|
||
|
<MemberSignature Language="C#" Value="public override int GetHashCode ();" />
|
||
|
<MemberSignature Language="ILAsm" Value=".method public hidebysig virtual instance int32 GetHashCode() cil managed" />
|
||
|
<MemberType>Method</MemberType>
|
||
|
<AssemblyInfo>
|
||
|
<AssemblyVersion>4.0.0.0</AssemblyVersion>
|
||
|
</AssemblyInfo>
|
||
|
<ReturnValue>
|
||
|
<ReturnType>System.Int32</ReturnType>
|
||
|
</ReturnValue>
|
||
|
<Parameters />
|
||
|
<Docs>
|
||
|
<remarks>
|
||
|
<attribution license="cc4" from="Microsoft" modified="false" />
|
||
|
<para>A hash code is a numeric value that is used to identify an object during equality testing. It can also serve as an index for an object in a collection.</para>
|
||
|
<para>The <see cref="M:System.Net.Http.Headers.RangeItemHeaderValue.GetHashCode" /> method is suitable for use in hashing algorithms and data structures such as a hash table.</para>
|
||
|
</remarks>
|
||
|
<summary>
|
||
|
<attribution license="cc4" from="Microsoft" modified="false" />
|
||
|
<para>Serves as a hash function for an <see cref="T:System.Net.Http.Headers.RangeItemHeaderValue" /> object.</para>
|
||
|
</summary>
|
||
|
<returns>
|
||
|
<attribution license="cc4" from="Microsoft" modified="false" />
|
||
|
<para>Returns <see cref="T:System.Int32" />.</para>
|
||
|
<para>A hash code for the current object.</para>
|
||
|
</returns>
|
||
|
</Docs>
|
||
|
</Member>
|
||
|
<Member MemberName="System.ICloneable.Clone">
|
||
|
<MemberSignature Language="C#" Value="object ICloneable.Clone ();" />
|
||
|
<MemberSignature Language="ILAsm" Value=".method hidebysig newslot virtual instance object System.ICloneable.Clone() cil managed" />
|
||
|
<MemberType>Method</MemberType>
|
||
|
<AssemblyInfo>
|
||
|
<AssemblyVersion>4.0.0.0</AssemblyVersion>
|
||
|
</AssemblyInfo>
|
||
|
<ReturnValue>
|
||
|
<ReturnType>System.Object</ReturnType>
|
||
|
</ReturnValue>
|
||
|
<Parameters />
|
||
|
<Docs>
|
||
|
<remarks>To be added.</remarks>
|
||
|
<summary>
|
||
|
<attribution license="cc4" from="Microsoft" modified="false" />
|
||
|
<para>Creates a new object that is a copy of the current <see cref="T:System.Net.Http.Headers.RangeItemHeaderValue" /> instance.</para>
|
||
|
</summary>
|
||
|
<returns>
|
||
|
<attribution license="cc4" from="Microsoft" modified="false" />
|
||
|
<para>Returns <see cref="T:System.Object" />.</para>
|
||
|
<para>A copy of the current instance.</para>
|
||
|
</returns>
|
||
|
</Docs>
|
||
|
</Member>
|
||
|
<Member MemberName="To">
|
||
|
<MemberSignature Language="C#" Value="public Nullable<long> To { get; }" />
|
||
|
<MemberSignature Language="ILAsm" Value=".property instance valuetype System.Nullable`1<int64> To" />
|
||
|
<MemberType>Property</MemberType>
|
||
|
<AssemblyInfo>
|
||
|
<AssemblyVersion>4.0.0.0</AssemblyVersion>
|
||
|
</AssemblyInfo>
|
||
|
<ReturnValue>
|
||
|
<ReturnType>System.Nullable<System.Int64></ReturnType>
|
||
|
</ReturnValue>
|
||
|
<Docs>
|
||
|
<value>To be added.</value>
|
||
|
<remarks>To be added.</remarks>
|
||
|
<summary>
|
||
|
<attribution license="cc4" from="Microsoft" modified="false" />
|
||
|
<para>Gets the position at which to stop sending data. </para>
|
||
|
</summary>
|
||
|
</Docs>
|
||
|
</Member>
|
||
|
<Member MemberName="ToString">
|
||
|
<MemberSignature Language="C#" Value="public override string ToString ();" />
|
||
|
<MemberSignature Language="ILAsm" Value=".method public hidebysig virtual instance string ToString() cil managed" />
|
||
|
<MemberType>Method</MemberType>
|
||
|
<AssemblyInfo>
|
||
|
<AssemblyVersion>4.0.0.0</AssemblyVersion>
|
||
|
</AssemblyInfo>
|
||
|
<ReturnValue>
|
||
|
<ReturnType>System.String</ReturnType>
|
||
|
</ReturnValue>
|
||
|
<Parameters />
|
||
|
<Docs>
|
||
|
<remarks>To be added.</remarks>
|
||
|
<summary>
|
||
|
<attribution license="cc4" from="Microsoft" modified="false" />
|
||
|
<para>Returns a string that represents the current <see cref="T:System.Net.Http.Headers.RangeItemHeaderValue" /> object.</para>
|
||
|
</summary>
|
||
|
<returns>
|
||
|
<attribution license="cc4" from="Microsoft" modified="false" />
|
||
|
<para>Returns <see cref="T:System.String" />.</para>
|
||
|
<para>A string that represents the current object.</para>
|
||
|
</returns>
|
||
|
</Docs>
|
||
|
</Member>
|
||
|
</Members>
|
||
|
</Type>
|