C# Класс PathLib.PathFactory

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

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

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

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

Create ( PathFactoryOptions options ) : IPath

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

Create ( string path ) : IPath

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

Create ( string path, PathFactoryOptions options ) : IPath

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

TryCreate ( PathFactoryOptions options, string path, IPath &result ) : bool

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

TryCreate ( string path, IPath &result ) : bool

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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