C# Class PathLib.PathFactory

Creates IPurePath implementations depending on the current platform.
Datei anzeigen Open project: nemec/pathlib

Public Methods

Method 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

Method Description
ApplyOptions ( IPath path, PathFactoryOptions options ) : IPath

Method Details

Create() public method

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

Create() public method

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

Create() public method

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

Create() public method

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
return IPath

TryCreate() public method

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
return bool

TryCreate() public method

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
return bool