C# Class BlogEngine.Core.Providers.DbFileSystemExtensions

static classes for the DbFileSystem
Show file Open project: rasmuskl/ReSharperCourse

Public Methods

Method Description
CopyToDirectory ( this inObj ) : FileSystem.Directory

copy's the database directory object to a Directory object

CopyToFile ( this inObj ) : FileSystem.File

copys a database File object to a File object

VirtualPathToDbPath ( this VirtualPath ) : string

removes the virtual path of BlogStorageLocation + files from the virtual path.

Method Details

CopyToDirectory() public static method

copy's the database directory object to a Directory object
public static CopyToDirectory ( this inObj ) : FileSystem.Directory
inObj this the database directory to copy
return FileSystem.Directory

CopyToFile() public static method

copys a database File object to a File object
public static CopyToFile ( this inObj ) : FileSystem.File
inObj this the database file object to copy
return FileSystem.File

VirtualPathToDbPath() public static method

removes the virtual path of BlogStorageLocation + files from the virtual path.
public static VirtualPathToDbPath ( this VirtualPath ) : string
VirtualPath this the virtual path to replace against
return string