C# Class XSpect.Extension.FileInfoUtil

显示文件 Open project: takeshik/linx

Public Methods

Method Description
ReadAllBytes ( this file ) : Byte[]
ReadAllLines ( this file ) : String[]
ReadAllText ( this file ) : String
WriteAllBytes ( this file, Byte bytes ) : void
WriteAllLines ( this file ) : void
WriteAllText ( this file, String text ) : void

Method Details

ReadAllBytes() public static method

public static ReadAllBytes ( this file ) : Byte[]
file this
return Byte[]

ReadAllLines() public static method

public static ReadAllLines ( this file ) : String[]
file this
return String[]

ReadAllText() public static method

public static ReadAllText ( this file ) : String
file this
return String

WriteAllBytes() public static method

public static WriteAllBytes ( this file, Byte bytes ) : void
file this
bytes Byte
return void

WriteAllLines() public static method

public static WriteAllLines ( this file ) : void
file this
return void

WriteAllText() public static method

public static WriteAllText ( this file, String text ) : void
file this
text String
return void