NotificationChannelInfo 类
- 程序集
- 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)
参数
NotificationChannelInfo(string, string, string, Type?)
代表提醒渠道信息
public NotificationChannelInfo(string guid, string name, string description = "", Type? settingsControlType = null)
参数
属性
AssociatedProviderGuid
提醒渠道所属提醒提供方的 GUID
public Guid AssociatedProviderGuid { get; }
属性值
Description
渠道描述
public string Description { get; }
属性值
Guid
渠道 GUID
public Guid Guid { get; }
属性值
Name
渠道名称
public string Name { get; }
属性值
PackIcon
图表类型
public PackIconKind PackIcon { get; }
属性值
- PackIconKind
SettingsControlType
设置界面类型
public Type? SettingsControlType { get; }