C# Class MGDF.GamesManager.Common.Framework.File

Inheritance: IFile
Show file Open project: mrsharpoblunto/MGDF

Public Methods

Method Description
CopyTo ( string path ) : void
Delete ( ) : void
File ( string path ) : System
MoveTo ( string path ) : void
OpenStream ( FileMode mode ) : Stream
OpenStream ( FileMode mode, FileAccess access, FileShare share ) : Stream
ReadBinary ( ) : byte[]
ReadText ( ) : string
WriteBinary ( byte data ) : void
WriteText ( string data ) : void

Method Details

CopyTo() public method

public CopyTo ( string path ) : void
path string
return void

Delete() public method

public Delete ( ) : void
return void

File() public method

public File ( string path ) : System
path string
return System

MoveTo() public method

public MoveTo ( string path ) : void
path string
return void

OpenStream() public method

public OpenStream ( FileMode mode ) : Stream
mode FileMode
return Stream

OpenStream() public method

public OpenStream ( FileMode mode, FileAccess access, FileShare share ) : Stream
mode FileMode
access FileAccess
share FileShare
return Stream

ReadBinary() public method

public ReadBinary ( ) : byte[]
return byte[]

ReadText() public method

public ReadText ( ) : string
return string

WriteBinary() public method

public WriteBinary ( byte data ) : void
data byte
return void

WriteText() public method

public WriteText ( string data ) : void
data string
return void