Table of Contents

ComponentInfo 类

命名空间
ClassIsland.Core.Attributes
程序集
ClassIsland.Core.dll

主界面组件属性

[AttributeUsage(AttributeTargets.Class)]
public class ComponentInfo : Attribute
继承
ComponentInfo
继承成员

构造函数

ComponentInfo(string, string, PackIconKind, string)

public ComponentInfo(string guid, string name, PackIconKind icon, string description = "")

参数

guid string
name string
icon PackIconKind
description string

ComponentInfo(string, string, string)

public ComponentInfo(string guid, string name, string description = "")

参数

guid string
name string
description string

ComponentInfo(string, string, string, string)

public ComponentInfo(string guid, string name, string bitmapIconUri, string description = "")

参数

guid string
name string
bitmapIconUri string
description string

属性

BitmapIconUri

组件位图图标uri

public string BitmapIconUri { get; }

属性值

string

ComponentType

组件类型

public Type? ComponentType { get; }

属性值

Type

Description

组件描述

public string Description { get; }

属性值

string

Empty

空组件信息

public static ComponentInfo Empty { get; }

属性值

ComponentInfo

Guid

组件GUID

public Guid Guid { get; }

属性值

Guid

IsComponentContainer

组件是否是组件容器

public bool IsComponentContainer { get; }

属性值

bool

Name

组件名称

public string Name { get; }

属性值

string

PackIcon

组件图标

public PackIconKind PackIcon { get; }

属性值

PackIconKind

SettingsType

设置界面类型

public Type? SettingsType { get; }

属性值

Type

UseBitmapIcon

是否使用位图图标

public bool UseBitmapIcon { get; }

属性值

bool