Ejemplo n.º 1
0
 /// <summary>
 /// 初始化SignalR框架
 /// </summary>
 public static IAppBuilder UseSignalRInitialize(this IAppBuilder app, SignalRInitializeOptions options)
 {
     options.CheckNotNull("options");
     IFrameworkInitializer initializer = new SignalRFrameworkInitializer(options);
     initializer.Initialize();
     return app;
 }
Ejemplo n.º 2
0
        /// <summary>
        /// 初始化SignalR框架
        /// </summary>
        public static IAppBuilder UseSignalRInitialize(this IAppBuilder app, SignalRInitializeOptions options)
        {
            options.CheckNotNull("options");
            IFrameworkInitializer initializer = new SignalRFrameworkInitializer(options);

            initializer.Initialize();
            return(app);
        }
 /// <summary>
 /// 初始化一个<see cref="SignalRFrameworkInitializer"/>类型的新实例
 /// </summary>
 public SignalRFrameworkInitializer(SignalRInitializeOptions options)
     : base(options)
 {
 }
 /// <summary>
 /// 初始化一个<see cref="SignalRFrameworkInitializer"/>类型的新实例
 /// </summary>
 public SignalRFrameworkInitializer(SignalRInitializeOptions options)
     : base(options)
 {
 }