C# Класс PathLib.PurePathFactory

Creates IPurePath implementations depending on the current platform.
Показать файл Открыть проект

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

Метод Описание
Create ( ) : IPurePath

Factory method to create a new PurePath instance based upon the current operating system.

Create ( PurePathFactoryOptions options ) : IPurePath

Factory method to create a new PurePath instance based upon the current operating system.

Create ( string path ) : IPurePath

Factory method to create a new PurePath instance based upon the current operating system.

Create ( string path, PurePathFactoryOptions options ) : IPurePath

Factory method to create a new PurePath instance based upon the current operating system.

TryCreate ( string path, IPurePath &result ) : bool

Factory method to create a new PurePath instance based upon the current operating system.

TryCreate ( string path, PurePathFactoryOptions options, IPurePath &result ) : bool

Factory method to create a new PurePath instance based upon the current operating system.

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

Метод Описание
ApplyOptions ( IPurePath path, PurePathFactoryOptions options ) : IPurePath

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

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

Factory method to create a new PurePath instance based upon the current operating system.
public Create ( ) : IPurePath
Результат IPurePath

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

Factory method to create a new PurePath instance based upon the current operating system.
public Create ( PurePathFactoryOptions options ) : IPurePath
options PurePathFactoryOptions
Результат IPurePath

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

Factory method to create a new PurePath instance based upon the current operating system.
public Create ( string path ) : IPurePath
path string
Результат IPurePath

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

Factory method to create a new PurePath instance based upon the current operating system.
public Create ( string path, PurePathFactoryOptions options ) : IPurePath
path string
options PurePathFactoryOptions
Результат IPurePath

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

Factory method to create a new PurePath instance based upon the current operating system.
public TryCreate ( string path, IPurePath &result ) : bool
path string
result IPurePath
Результат bool

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

Factory method to create a new PurePath instance based upon the current operating system.
public TryCreate ( string path, PurePathFactoryOptions options, IPurePath &result ) : bool
path string
options PurePathFactoryOptions
result IPurePath
Результат bool