C# Class PathLib.Paths

Factory functions for concrete paths.
Datei anzeigen Open project: nemec/pathlib

Public Methods

Method Description
Create ( ) : IPath

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

Create ( DirectoryInfo info ) : IPath

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

Create ( FileInfo info ) : IPath

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

Create ( string path ) : IPath

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

Private Methods

Method Description
Paths ( ) : System

Method Details

Create() public static method

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

Create() public static method

Factory method to create a new Path instance based upon the current operating system.
public static Create ( DirectoryInfo info ) : IPath
info System.IO.DirectoryInfo
return IPath

Create() public static method

Factory method to create a new Path instance based upon the current operating system.
public static Create ( FileInfo info ) : IPath
info System.IO.FileInfo
return IPath

Create() public static method

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