C# Class PathItemBase, gert

ファイルを表示 Open project: mono/gert Class Usage Examples

Private Properties

Property Type Description
FixPath string
PersistablePath string
RelativePath string
SetPathInternal void

Public Methods

Method Description
Equals ( object obj ) : bool
GetHashCode ( ) : int
PathItemBase ( ) : System

Initializes a new instance of the PathItemBase class.

PathItemBase ( PathItemBase, pathItemBase ) : System

Initializes a new instance of the PathItemBase class from an existing PathItemBase instance.

PathItemBase ( string path ) : System

Initializes a new instance of the PathItemBase class from a given path string.

If a path is rooted, FixedPath is set to , otherwise is is set to

ToString ( ) : string
operator ( ) : bool

Equality operator.

Private Methods

Method Description
FixPath ( string path ) : string
PersistablePath ( string basePath ) : string
RelativePath ( string path ) : string
SetPathInternal ( string path ) : void

Method Details

Equals() public method

public Equals ( object obj ) : bool
obj object
return bool

GetHashCode() public method

public GetHashCode ( ) : int
return int

PathItemBase() public method

Initializes a new instance of the PathItemBase class.
public PathItemBase ( ) : System
return System

PathItemBase() public method

Initializes a new instance of the PathItemBase class from an existing PathItemBase instance.
is a .
public PathItemBase ( PathItemBase, pathItemBase ) : System
pathItemBase PathItemBase, An existing instance.
return System

PathItemBase() public method

Initializes a new instance of the PathItemBase class from a given path string.
If a path is rooted, FixedPath is set to , otherwise is is set to
is a . is an empty string.
public PathItemBase ( string path ) : System
path string A relative or absolute path.
return System

ToString() public method

public ToString ( ) : string
return string

operator() public static method

Equality operator.
public static operator ( ) : bool
return bool