C# Class XmlCoreTest.Common.FilePathUtil

Datei anzeigen Open project: dotnet/corefx Class Usage Examples

Public Methods

Method Description
ExpandVariables ( string inputPath ) : string
GetDataPath ( ) : string
GetFileDataPath ( ) : string
GetFileStandardPath ( ) : string
GetFileTestDataPath ( ) : string
GetHttpDataPath ( ) : string
GetHttpStandardPath ( ) : string
GetHttpTestDataPath ( ) : string
GetStandardPath ( ) : string
GetTestDataPath ( ) : string
GetVariableValue ( string name ) : string
addBytes ( string filename, byte bytes ) : void
addStream ( string filename, Stream s ) : void
cacheXml ( string filename, string content ) : void
getStream ( string filename ) : Stream
getStreamDirect ( string filename ) : Stream

Private Methods

Method Description
NormalizeFilePath ( string path ) : string
initXmlFileCacheIfNotYet ( ) : void

Method Details

ExpandVariables() public static method

public static ExpandVariables ( string inputPath ) : string
inputPath string
return string

GetDataPath() public static method

public static GetDataPath ( ) : string
return string

GetFileDataPath() public static method

public static GetFileDataPath ( ) : string
return string

GetFileStandardPath() public static method

public static GetFileStandardPath ( ) : string
return string

GetFileTestDataPath() public static method

public static GetFileTestDataPath ( ) : string
return string

GetHttpDataPath() public static method

public static GetHttpDataPath ( ) : string
return string

GetHttpStandardPath() public static method

public static GetHttpStandardPath ( ) : string
return string

GetHttpTestDataPath() public static method

public static GetHttpTestDataPath ( ) : string
return string

GetStandardPath() public static method

public static GetStandardPath ( ) : string
return string

GetTestDataPath() public static method

public static GetTestDataPath ( ) : string
return string

GetVariableValue() public static method

public static GetVariableValue ( string name ) : string
name string
return string

addBytes() public static method

public static addBytes ( string filename, byte bytes ) : void
filename string
bytes byte
return void

addStream() public static method

public static addStream ( string filename, Stream s ) : void
filename string
s Stream
return void

cacheXml() public static method

public static cacheXml ( string filename, string content ) : void
filename string
content string
return void

getStream() public static method

public static getStream ( string filename ) : Stream
filename string
return Stream

getStreamDirect() public static method

public static getStreamDirect ( string filename ) : Stream
filename string
return Stream