C# Class PathLib.PurePathFactory

Creates IPurePath implementations depending on the current platform.
显示文件 Open project: nemec/pathlib

Public Methods

Method 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

Method Description
ApplyOptions ( IPurePath path, PurePathFactoryOptions options ) : IPurePath

Method Details

Create() public method

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

Create() public method

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

Create() public method

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

Create() public method

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

TryCreate() public method

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

TryCreate() public method

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