C# Класс PathItemBase, gert

Показать файл Открыть проект Примеры использования класса

Private Properties

Свойство Тип Описание
FixPath string
PersistablePath string
RelativePath string
SetPathInternal void

Открытые методы

Метод Описание
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.

Приватные методы

Метод Описание
FixPath ( string path ) : string
PersistablePath ( string basePath ) : string
RelativePath ( string path ) : string
SetPathInternal ( string path ) : void

Описание методов

Equals() публичный Метод

public Equals ( object obj ) : bool
obj object
Результат bool

GetHashCode() публичный Метод

public GetHashCode ( ) : int
Результат int

PathItemBase() публичный Метод

Initializes a new instance of the PathItemBase class.
public PathItemBase ( ) : System
Результат System

PathItemBase() публичный Метод

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.
Результат System

PathItemBase() публичный Метод

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.
Результат System

ToString() публичный Метод

public ToString ( ) : string
Результат string

operator() публичный статический Метод

Equality operator.
public static operator ( ) : bool
Результат bool