C# Class MonoDevelop.Monobjc.Utilities.FilePair

A construct that holds a source and a destination file.
ファイルを表示 Open project: Monobjc/monobjc-monodevelop

Public Methods

Method Description
Copy ( bool allowsOverride ) : void

Copies the specified pair.

Encrypt ( Aes aes ) : void

Encrypt the specified pair.

EnsureOutputDirectory ( ) : void

Ensures the output directory exists by creating it if needed..

FilePair ( FilePath source, FilePath destination ) : System.IO

Initializes a new instance of the FilePair struct.

Method Details

Copy() public method

Copies the specified pair.
public Copy ( bool allowsOverride ) : void
allowsOverride bool if set to true allows override.
return void

Encrypt() public method

Encrypt the specified pair.
public Encrypt ( Aes aes ) : void
aes System.Security.Cryptography.Aes The AES encryptor.
return void

EnsureOutputDirectory() public method

Ensures the output directory exists by creating it if needed..
public EnsureOutputDirectory ( ) : void
return void

FilePair() public method

Initializes a new instance of the FilePair struct.
public FilePair ( FilePath source, FilePath destination ) : System.IO
source FilePath The source.
destination FilePath
return System.IO