C# Class PathLib.PurePathFactory

Creates IPurePath implementations depending on the current platform.
Afficher le fichier Open project: nemec/pathlib

Méthodes publiques

Méthode Description
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.

Private Methods

Méthode Description
ApplyOptions ( IPurePath path, PurePathFactoryOptions options ) : IPurePath

Method Details

Create() public méthode

Factory method to create a new PurePath instance based upon the current operating system.
public Create ( ) : IPurePath
Résultat IPurePath

Create() public méthode

Factory method to create a new PurePath instance based upon the current operating system.
public Create ( PurePathFactoryOptions options ) : IPurePath
options PurePathFactoryOptions
Résultat IPurePath

Create() public méthode

Factory method to create a new PurePath instance based upon the current operating system.
public Create ( string path ) : IPurePath
path string
Résultat IPurePath

Create() public méthode

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
Résultat IPurePath

TryCreate() public méthode

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
Résultat bool

TryCreate() public méthode

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
Résultat bool