你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn

HubAndConnectionTypeResolver 类

定义

提供没有外部依赖项的 IHubAndConnectionTypeResolver 实现。

public class HubAndConnectionTypeResolver : Microsoft.WindowsAzure.Mobile.Service.Config.IHubAndConnectionTypeResolver
type HubAndConnectionTypeResolver = class
    interface IHubAndConnectionTypeResolver
Public Class HubAndConnectionTypeResolver
Implements IHubAndConnectionTypeResolver
继承
HubAndConnectionTypeResolver
实现

构造函数

HubAndConnectionTypeResolver()

使用用于检测 signalR 中心 ASP.NET 的默认筛选器初始化 的新实例 HubAndConnectionTypeResolver

HubAndConnectionTypeResolver(Predicate<Type>)

HubAndConnectionTypeResolver使用谓词创建新实例,以筛选实现 Microsoft.AspNet.SignalR.Hubs.IHub的类型。

属性

IsHubOrConnectionPredicate

获取用于筛选实现 Microsoft.AspNet.SignalR.Hubs.IHub的类型的谓词。

方法

GetHubAndConnectionTypes(IEnumerable<Assembly>)

返回服务可用的 ASP.NET SignalR 中心和持久连接类型的集合。

适用于