Table of Contents

Class ChannelExtensions

Namespace
HeyBox
Assembly
HeyBox.Net.Core.dll

提供用于各种频道实体的扩展方法。

public static class ChannelExtensions
Inheritance
ChannelExtensions
Inherited Members

Methods

GetChannelType(IChannel)

尝试基于频道所实现的接口类型获取频道的实际类型。

public static ChannelType? GetChannelType(this IChannel channel)

Parameters

channel IChannel

要获取其类型的频道。

Returns

ChannelType?

如果此频道的实际类型已知,则返回其类型;否则,返回 null