Show / Hide Table of Contents

Class CopyFile.State

State that can be used to call CopyFile, you can use this to configure some properties of the copy operation.

Inheritance
System.Object
CopyFile.State
Namespace: Darwin
Assembly: CopyFile.dll
Syntax
public class CopyFile.State : IDisposable
Remarks

Use the SetStatusCallback method to configure a callback method to be used for recursive copy operations.

Constructors

CopyFile.State()

Creates a new state object used to control the recursive copying operation

Declaration
public State ();

Properties

Copied

The number of bytes copied so far

Declaration
public long Copied { get; }
Property Value
Type Description
System.Int64

To be added.

DestFD

Get or set the file descriptor associated with the destiation file. If this has not been initialized yet, the value will be -2.

Declaration
public int DestFD { get; set; }
Property Value
Type Description
System.Int32

To be added.

DestinationFileName

Get or set the filename associated with the source, if this has not been initialized, the value will be null.

Declaration
public string DestinationFileName { get; set; }
Property Value
Type Description
System.String

To be added.

SourceFD

Get or set the file descriptor associated with the source file. If this has not been initialized yet, the value will be -2.

Declaration
public int SourceFD { get; set; }
Property Value
Type Description
System.Int32

To be added.

SourceFileName

Get or set the filename associated with the source, if this has not been initialized, the value will be null.

Declaration
public string SourceFileName { get; set; }
Property Value
Type Description
System.String

To be added.

XAttrName

Retursn the name of the current extended attribute being copied

Declaration
public string XAttrName { get; }
Property Value
Type Description
System.String

To be added.

Methods

Dispose(Boolean)

Disposes the object

Declaration
protected virtual void Dispose (bool disposing);
Parameters
Type Name Description
System.Boolean disposing

To be added.

Finalize()

Finalizer

Declaration
~State ();

SetStatusCallback(CopyFile+State+ProgressCallback)

Sets a callback that is invoked during recursive copies and can allow you to monitor and control the copying process.

Declaration
public void SetStatusCallback (Darwin.CopyFile.State.ProgressCallback callback);
Parameters
Type Name Description
callback

To be added.

Explicit Interface Implementations

IDisposable.Dispose()

Declaration
void IDisposable.Dispose ();
Back to top Copyright © 2015-2017 Microsoft
Generated by DocFX