C# Class ScrewTurn.Wiki.PluginFramework.ComponentInformation

Contains information about a Provider.
ファイルを表示 Open project: mono/ScrewTurnWiki Class Usage Examples

Protected Properties

Property Type Description
author string
name string
updateUrl string
url string
version string

Public Methods

Method Description
ComponentInformation ( string name, string author, string version, string url, string updateUrl ) : System

Initializes a new instance of the ComponentInformation class.

Method Details

ComponentInformation() public method

Initializes a new instance of the ComponentInformation class.
public ComponentInformation ( string name, string author, string version, string url, string updateUrl ) : System
name string The Name of the Component.
author string The Author of the Component.
version string The component version.
url string The info URL of the Component/Author.
updateUrl string The update URL of the component, or null.
return System

Property Details

author protected_oe property

The Author of the Component.
protected string author
return string

name protected_oe property

The Name of the Component.
protected string name
return string

updateUrl protected_oe property

The component update URL which should point to a text file containing one or two rows (separated by \r\n or \n): 1. A list of increasing versions separated by pipes, such as "1.0.0|1.0.1|1.0.2" (without quotes) 2. (optional) The absolute HTTP URL of the latest DLL, for example "http://www.server.com/update/MyAssembly.dll" (without quotes) The second row should only be present if the provider can be updated automatically without any type of user intervention, i.e. by simply replacing the DLL and restarting the wiki. If the DLL contains multiple providers, they are all updated (obviously). The new DLL must have the same name of the being-replaced DLL (in other words, a provider must reside in the same DLL forever in order to be updated automatically).
protected string updateUrl
return string

url protected_oe property

The info URL of the Component/Author.
protected string url
return string

version protected_oe property

The component version.
protected string version
return string