Table of Contents

PluginInfo 类

命名空间
ClassIsland.Core.Models.Plugin
程序集
ClassIsland.Core.dll

插件信息

public class PluginInfo : ObservableRecipient, INotifyPropertyChanging, IMarketplaceItemInfo, INotifyPropertyChanged
继承
PluginInfo
实现
Derived
继承成员

属性

DownloadCount

插件下载量

public long DownloadCount { get; set; }

属性值

long

DownloadProgress

关联的下载进度

[JsonIgnore]
public DownloadProgress? DownloadProgress { get; set; }

属性值

DownloadProgress

Exception

插件加载时错误

[JsonIgnore]
public Exception? Exception { get; }

属性值

Exception

IsAvailableOnMarket

是否在插件市场上可用

[JsonIgnore]
public bool IsAvailableOnMarket { get; set; }

属性值

bool

IsEnabled

插件是否已启用

[JsonIgnore]
public bool IsEnabled { get; set; }

属性值

bool

IsLocal

插件是否存在于本地

[JsonIgnore]
public bool IsLocal { get; }

属性值

bool

IsUninstalling

插件是否将要卸载

[JsonIgnore]
public bool IsUninstalling { get; set; }

属性值

bool

IsUpdateAvailable

插件是否有更新可用。

[JsonIgnore]
public bool IsUpdateAvailable { get; set; }

属性值

bool

LoadStatus

插件加载状态

[JsonIgnore]
public PluginLoadStatus LoadStatus { get; }

属性值

PluginLoadStatus

Manifest

插件元数据

public PluginManifest Manifest { get; set; }

属性值

PluginManifest

ManifestReadonly

对象清单

[JsonIgnore]
public IMarketplaceItemManifest ManifestReadonly { get; }

属性值

IMarketplaceItemManifest

PluginFolderPath

插件文件路径。

[JsonIgnore]
public string PluginFolderPath { get; }

属性值

string

RealIconPath

图标真实路径

public string RealIconPath { get; set; }

属性值

string

RestartRequired

需要重启

[JsonIgnore]
public bool RestartRequired { get; set; }

属性值

bool

StarsCount

插件 Stars 数量

public long StarsCount { get; set; }

属性值

long