C# Класс ScrewTurn.Wiki.PluginFramework.ComponentInformation

Contains information about a Provider.
Показать файл Открыть проект Примеры использования класса

Защищенные свойства (Protected)

Свойство Тип Описание
author string
name string
updateUrl string
url string
version string

Открытые методы

Метод Описание
ComponentInformation ( string name, string author, string version, string url, string updateUrl ) : System

Initializes a new instance of the ComponentInformation class.

Описание методов

ComponentInformation() публичный Метод

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.
Результат System

Описание свойств

author защищенное свойство

The Author of the Component.
protected string author
Результат string

name защищенное свойство

The Name of the Component.
protected string name
Результат string

updateUrl защищенное свойство

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
Результат string

url защищенное свойство

The info URL of the Component/Author.
protected string url
Результат string

version защищенное свойство

The component version.
protected string version
Результат string