Table of Contents

NotificationChannelInfo 类

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

代表提醒渠道信息

[AttributeUsage(AttributeTargets.Class, AllowMultiple = true)]
public class NotificationChannelInfo : Attribute
继承
NotificationChannelInfo
继承成员

构造函数

NotificationChannelInfo(string, string, PackIconKind, string, Type?)

初始化一个 NotificationChannelInfo 实例

public NotificationChannelInfo(string guid, string name, PackIconKind icon, string description = "", Type? settingsControlType = null)

参数

guid string
name string
icon PackIconKind
description string
settingsControlType Type

NotificationChannelInfo(string, string, string, Type?)

代表提醒渠道信息

public NotificationChannelInfo(string guid, string name, string description = "", Type? settingsControlType = null)

参数

guid string
name string
description string
settingsControlType Type

属性

AssociatedProviderGuid

提醒渠道所属提醒提供方的 GUID

public Guid AssociatedProviderGuid { get; }

属性值

Guid

Description

渠道描述

public string Description { get; }

属性值

string

Guid

渠道 GUID

public Guid Guid { get; }

属性值

Guid

Name

渠道名称

public string Name { get; }

属性值

string

PackIcon

图表类型

public PackIconKind PackIcon { get; }

属性值

PackIconKind

SettingsControlType

设置界面类型

public Type? SettingsControlType { get; }

属性值

Type