C# Class BlogEngine.Core.Packaging.FileSystem

Class for packaging IO
ファイルを表示 Open project: rasmuskl/ReSharperCourse Class Usage Examples

Public Methods

Method Description
InstallPackage ( string pkgId, string version ) : List

Copy uncompressed package files to application directories

Load ( List packages ) : void

UninstallPackage ( string pkgId ) : void

Remove package files

Private Methods

Method Description
CopyDirectory ( DirectoryInfo source, DirectoryInfo target, string pkgId, List installedFiles ) : void
DefaultIconUrl ( JsonPackage pkg ) : string
ForceDeleteDirectory ( string path ) : void
GetPackageManifest ( string id, string pkgType ) : JsonPackage
GetThemes ( ) : List
GetWidgets ( ) : List
ReplaceInFile ( string filePath, string searchText, string replaceText ) : void

Method Details

InstallPackage() public static method

Copy uncompressed package files to application directories
public static InstallPackage ( string pkgId, string version ) : List
pkgId string Package Id
version string Package Version
return List

Load() public static method

public static Load ( List packages ) : void
packages List
return void

UninstallPackage() public static method

Remove package files
public static UninstallPackage ( string pkgId ) : void
pkgId string Package Id
return void