229 lines
9.8 KiB
XML
229 lines
9.8 KiB
XML
|
<Type Name="FilePosition" FullName="Mono.Unix.Native.FilePosition">
|
||
|
<TypeSignature Language="C#" Value="public sealed class FilePosition : MarshalByRefObject, IDisposable, IEquatable<Mono.Unix.Native.FilePosition>" />
|
||
|
<TypeSignature Language="ILAsm" Value=".class public auto ansi sealed beforefieldinit FilePosition extends System.MarshalByRefObject implements class System.IDisposable, class System.IEquatable`1<class Mono.Unix.Native.FilePosition>" />
|
||
|
<AssemblyInfo>
|
||
|
<AssemblyName>Mono.Posix</AssemblyName>
|
||
|
<AssemblyVersion>1.0.5000.0</AssemblyVersion>
|
||
|
<AssemblyVersion>2.0.0.0</AssemblyVersion>
|
||
|
<AssemblyVersion>4.0.0.0</AssemblyVersion>
|
||
|
</AssemblyInfo>
|
||
|
<ThreadingSafetyStatement>
|
||
|
All public static members of this type are safe for multithreaded operations.
|
||
|
No instance members are guaranteed to be thread safe.
|
||
|
</ThreadingSafetyStatement>
|
||
|
<Base>
|
||
|
<BaseTypeName>System.MarshalByRefObject</BaseTypeName>
|
||
|
</Base>
|
||
|
<Interfaces>
|
||
|
<Interface>
|
||
|
<InterfaceName>System.IDisposable</InterfaceName>
|
||
|
</Interface>
|
||
|
<Interface>
|
||
|
<InterfaceName>System.IEquatable<Mono.Unix.Native.FilePosition></InterfaceName>
|
||
|
</Interface>
|
||
|
</Interfaces>
|
||
|
<Docs>
|
||
|
<summary>A wrapper for the platform-specific <paramref name="fpos_t" />.</summary>
|
||
|
<remarks>
|
||
|
<para>
|
||
|
<c>FilePosition</c> is an alternate mechanism for specifying a
|
||
|
location within a file, which can take into account text vs. binary
|
||
|
<c>FILE</c> stream differences. It exists to support platforms for which
|
||
|
file positions can exceed the size of <see langword="long" />.</para>
|
||
|
<para>
|
||
|
<c>FilePosition</c> wraps unmanaged memory. It contains a finalizer
|
||
|
to free this memory, but using <see cref="M:Mono.Unix.Native.FilePosition.Dispose" /> is highly recommended to avoid
|
||
|
additional GC pressure.</para>
|
||
|
</remarks>
|
||
|
<altmember cref="M:Mono.Unix.StdioFileStream.RestoreFilePosition" />
|
||
|
<altmember cref="M:Mono.Unix.StdioFileStream.SaveFilePosition" />
|
||
|
<altmember cref="M:Mono.Unix.Native.Stdlib.fgetpos" />
|
||
|
<altmember cref="M:Mono.Unix.Native.Stdlib.fsetpos" />
|
||
|
</Docs>
|
||
|
<Members>
|
||
|
<Member MemberName=".ctor">
|
||
|
<MemberSignature Language="C#" Value="public FilePosition ();" />
|
||
|
<MemberSignature Language="ILAsm" Value=".method public hidebysig specialname rtspecialname instance void .ctor() cil managed" />
|
||
|
<MemberType>Constructor</MemberType>
|
||
|
<AssemblyInfo>
|
||
|
<AssemblyVersion>1.0.5000.0</AssemblyVersion>
|
||
|
<AssemblyVersion>2.0.0.0</AssemblyVersion>
|
||
|
<AssemblyVersion>4.0.0.0</AssemblyVersion>
|
||
|
</AssemblyInfo>
|
||
|
<Parameters />
|
||
|
<Docs>
|
||
|
<summary>Constructs and initializes a file position instance.</summary>
|
||
|
<remarks>
|
||
|
</remarks>
|
||
|
</Docs>
|
||
|
</Member>
|
||
|
<Member MemberName="Dispose">
|
||
|
<MemberSignature Language="C#" Value="public void Dispose ();" />
|
||
|
<MemberSignature Language="ILAsm" Value=".method public hidebysig newslot virtual instance void Dispose() cil managed" />
|
||
|
<MemberType>Method</MemberType>
|
||
|
<AssemblyInfo>
|
||
|
<AssemblyVersion>1.0.5000.0</AssemblyVersion>
|
||
|
<AssemblyVersion>2.0.0.0</AssemblyVersion>
|
||
|
<AssemblyVersion>4.0.0.0</AssemblyVersion>
|
||
|
</AssemblyInfo>
|
||
|
<ReturnValue>
|
||
|
<ReturnType>System.Void</ReturnType>
|
||
|
</ReturnValue>
|
||
|
<Parameters />
|
||
|
<Docs>
|
||
|
<summary>Frees the wrapped <c>fpos_t</c> instance.</summary>
|
||
|
<remarks>This method should be called whenever a <c>FilePosition</c>
|
||
|
is no longer needed.</remarks>
|
||
|
</Docs>
|
||
|
</Member>
|
||
|
<Member MemberName="Equals">
|
||
|
<MemberSignature Language="C#" Value="public bool Equals (Mono.Unix.Native.FilePosition value);" />
|
||
|
<MemberSignature Language="ILAsm" Value=".method public hidebysig newslot virtual instance bool Equals(class Mono.Unix.Native.FilePosition value) cil managed" />
|
||
|
<MemberType>Method</MemberType>
|
||
|
<AssemblyInfo>
|
||
|
<AssemblyVersion>1.0.5000.0</AssemblyVersion>
|
||
|
<AssemblyVersion>2.0.0.0</AssemblyVersion>
|
||
|
<AssemblyVersion>4.0.0.0</AssemblyVersion>
|
||
|
</AssemblyInfo>
|
||
|
<ReturnValue>
|
||
|
<ReturnType>System.Boolean</ReturnType>
|
||
|
</ReturnValue>
|
||
|
<Parameters>
|
||
|
<Parameter Name="value" Type="Mono.Unix.Native.FilePosition" />
|
||
|
</Parameters>
|
||
|
<Docs>
|
||
|
<param name="value">To be added.</param>
|
||
|
<summary>To be added.</summary>
|
||
|
<returns>To be added.</returns>
|
||
|
<remarks>To be added.</remarks>
|
||
|
</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>1.0.5000.0</AssemblyVersion>
|
||
|
<AssemblyVersion>2.0.0.0</AssemblyVersion>
|
||
|
<AssemblyVersion>4.0.0.0</AssemblyVersion>
|
||
|
</AssemblyInfo>
|
||
|
<ReturnValue>
|
||
|
<ReturnType>System.Boolean</ReturnType>
|
||
|
</ReturnValue>
|
||
|
<Parameters>
|
||
|
<Parameter Name="obj" Type="System.Object" />
|
||
|
</Parameters>
|
||
|
<Docs>
|
||
|
<param name="obj">To be added.</param>
|
||
|
<summary>To be added.</summary>
|
||
|
<returns>To be added.</returns>
|
||
|
<remarks>To be added.</remarks>
|
||
|
</Docs>
|
||
|
</Member>
|
||
|
<Member MemberName="Finalize">
|
||
|
<MemberSignature Language="C#" Value="~FilePosition ();" />
|
||
|
<MemberSignature Language="ILAsm" Value=".method familyhidebysig virtual instance void Finalize() cil managed" />
|
||
|
<MemberType>Method</MemberType>
|
||
|
<AssemblyInfo>
|
||
|
<AssemblyVersion>1.0.5000.0</AssemblyVersion>
|
||
|
<AssemblyVersion>2.0.0.0</AssemblyVersion>
|
||
|
<AssemblyVersion>4.0.0.0</AssemblyVersion>
|
||
|
</AssemblyInfo>
|
||
|
<ReturnValue>
|
||
|
<ReturnType>System.Void</ReturnType>
|
||
|
</ReturnValue>
|
||
|
<Parameters />
|
||
|
<Docs>
|
||
|
<summary>To be added.</summary>
|
||
|
<remarks>To be added.</remarks>
|
||
|
</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>1.0.5000.0</AssemblyVersion>
|
||
|
<AssemblyVersion>2.0.0.0</AssemblyVersion>
|
||
|
<AssemblyVersion>4.0.0.0</AssemblyVersion>
|
||
|
</AssemblyInfo>
|
||
|
<ReturnValue>
|
||
|
<ReturnType>System.Int32</ReturnType>
|
||
|
</ReturnValue>
|
||
|
<Parameters />
|
||
|
<Docs>
|
||
|
<summary>To be added.</summary>
|
||
|
<returns>To be added.</returns>
|
||
|
<remarks>To be added.</remarks>
|
||
|
</Docs>
|
||
|
</Member>
|
||
|
<Member MemberName="op_Equality">
|
||
|
<MemberSignature Language="C#" Value="public static bool op_Equality (Mono.Unix.Native.FilePosition lhs, Mono.Unix.Native.FilePosition rhs);" />
|
||
|
<MemberSignature Language="ILAsm" Value=".method public static hidebysig specialname bool op_Equality(class Mono.Unix.Native.FilePosition lhs, class Mono.Unix.Native.FilePosition rhs) cil managed" />
|
||
|
<MemberType>Method</MemberType>
|
||
|
<AssemblyInfo>
|
||
|
<AssemblyVersion>1.0.5000.0</AssemblyVersion>
|
||
|
<AssemblyVersion>2.0.0.0</AssemblyVersion>
|
||
|
<AssemblyVersion>4.0.0.0</AssemblyVersion>
|
||
|
</AssemblyInfo>
|
||
|
<ReturnValue>
|
||
|
<ReturnType>System.Boolean</ReturnType>
|
||
|
</ReturnValue>
|
||
|
<Parameters>
|
||
|
<Parameter Name="lhs" Type="Mono.Unix.Native.FilePosition" />
|
||
|
<Parameter Name="rhs" Type="Mono.Unix.Native.FilePosition" />
|
||
|
</Parameters>
|
||
|
<Docs>
|
||
|
<param name="lhs">To be added.</param>
|
||
|
<param name="rhs">To be added.</param>
|
||
|
<summary>To be added.</summary>
|
||
|
<returns>To be added.</returns>
|
||
|
<remarks>To be added.</remarks>
|
||
|
</Docs>
|
||
|
</Member>
|
||
|
<Member MemberName="op_Inequality">
|
||
|
<MemberSignature Language="C#" Value="public static bool op_Inequality (Mono.Unix.Native.FilePosition lhs, Mono.Unix.Native.FilePosition rhs);" />
|
||
|
<MemberSignature Language="ILAsm" Value=".method public static hidebysig specialname bool op_Inequality(class Mono.Unix.Native.FilePosition lhs, class Mono.Unix.Native.FilePosition rhs) cil managed" />
|
||
|
<MemberType>Method</MemberType>
|
||
|
<AssemblyInfo>
|
||
|
<AssemblyVersion>1.0.5000.0</AssemblyVersion>
|
||
|
<AssemblyVersion>2.0.0.0</AssemblyVersion>
|
||
|
<AssemblyVersion>4.0.0.0</AssemblyVersion>
|
||
|
</AssemblyInfo>
|
||
|
<ReturnValue>
|
||
|
<ReturnType>System.Boolean</ReturnType>
|
||
|
</ReturnValue>
|
||
|
<Parameters>
|
||
|
<Parameter Name="lhs" Type="Mono.Unix.Native.FilePosition" />
|
||
|
<Parameter Name="rhs" Type="Mono.Unix.Native.FilePosition" />
|
||
|
</Parameters>
|
||
|
<Docs>
|
||
|
<param name="lhs">To be added.</param>
|
||
|
<param name="rhs">To be added.</param>
|
||
|
<summary>To be added.</summary>
|
||
|
<returns>To be added.</returns>
|
||
|
<remarks>To be added.</remarks>
|
||
|
</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>1.0.5000.0</AssemblyVersion>
|
||
|
<AssemblyVersion>2.0.0.0</AssemblyVersion>
|
||
|
<AssemblyVersion>4.0.0.0</AssemblyVersion>
|
||
|
</AssemblyInfo>
|
||
|
<ReturnValue>
|
||
|
<ReturnType>System.String</ReturnType>
|
||
|
</ReturnValue>
|
||
|
<Parameters />
|
||
|
<Docs>
|
||
|
<summary>To be added.</summary>
|
||
|
<returns>To be added.</returns>
|
||
|
<remarks>To be added.</remarks>
|
||
|
</Docs>
|
||
|
</Member>
|
||
|
</Members>
|
||
|
</Type>
|