C# Class Nitra.Visualizer.Utils

Exibir arquivo Open project: rsdn/nitra

Public Methods

Method Description
Count ( this seq ) : int
EnsureBackslash ( string baseDir ) : string
Escape ( string str ) : string
GetAssemblyPaths ( string assemblyPaths ) : string[]
IsEmpty ( this seq ) : bool
IsInvalidDirName ( string testSuiteName ) : bool
LoadAssembly ( string assemblyFilePath, string config ) : Assembly
MakeRelativePath ( string from, bool isFromDir, string to, bool isToDir ) : string
MakeXml ( [ root, [ language, [ dynamicExtensions, LibReference libs, bool disableSemanticAnalysis = true ) : string
UpdatePathForConfig ( string assemblyFilePath, string config ) : string
WrapToXaml ( string xaml ) : string

Private Methods

Method Description
PathRelativePathTo ( StringBuilder lpszDst, string from, FILE_ATTRIBUTE attrFrom, string to, FILE_ATTRIBUTE attrTo ) : bool

Method Details

Count() public static method

public static Count ( this seq ) : int
seq this
return int

EnsureBackslash() public static method

public static EnsureBackslash ( string baseDir ) : string
baseDir string
return string

Escape() public static method

public static Escape ( string str ) : string
str string
return string

GetAssemblyPaths() public static method

public static GetAssemblyPaths ( string assemblyPaths ) : string[]
assemblyPaths string
return string[]

IsEmpty() public static method

public static IsEmpty ( this seq ) : bool
seq this
return bool

IsInvalidDirName() public static method

public static IsInvalidDirName ( string testSuiteName ) : bool
testSuiteName string
return bool

LoadAssembly() public static method

public static LoadAssembly ( string assemblyFilePath, string config ) : Assembly
assemblyFilePath string
config string
return System.Reflection.Assembly

MakeRelativePath() public static method

public static MakeRelativePath ( string from, bool isFromDir, string to, bool isToDir ) : string
from string
isFromDir bool
to string
isToDir bool
return string

MakeXml() public static method

public static MakeXml ( [ root, [ language, [ dynamicExtensions, LibReference libs, bool disableSemanticAnalysis = true ) : string
root [
language [
dynamicExtensions [
libs LibReference
disableSemanticAnalysis bool
return string

UpdatePathForConfig() public static method

public static UpdatePathForConfig ( string assemblyFilePath, string config ) : string
assemblyFilePath string
config string
return string

WrapToXaml() public static method

public static WrapToXaml ( string xaml ) : string
xaml string
return string