C# Class PathLib.PathFactory

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

Méthodes publiques

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

Private Methods

Méthode Description
ApplyOptions ( IPath path, PathFactoryOptions options ) : IPath

Method Details

Create() public méthode

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

Create() public méthode

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

Create() public méthode

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

Create() public méthode

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

TryCreate() public méthode

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
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, IPath &result ) : bool
path string
result IPath
Résultat bool