コード例 #1
0
ファイル: TestHub.cs プロジェクト: royben/Resonance
 public TestHub(IResonanceHubProxy <TestCredentials, TestServiceInformation, TestServiceInformation, TestAdapterInformation> proxy) : base(proxy)
 {
 }
コード例 #2
0
 /// <summary>
 /// Initializes a new instance of the <see cref="ResonanceHub{TCredentials, TServiceInformation, TReportedServiceInformation, TAdapterInformation, THub}"/> class.
 /// </summary>
 /// <param name="proxy">An instance of hub proxy.</param>
 public ResonanceHub(IResonanceHubProxy <TCredentials, TServiceInformation, TReportedServiceInformation, TAdapterInformation> proxy)
 {
     _proxy = proxy;
     _proxy.Init(InvokeClient, GetConnectionId);
 }
コード例 #3
0
 public DemoHub(IResonanceHubProxy <DemoCredentials, DemoServiceInformation, DemoServiceInformation, DemoAdapterInformation> proxy) : base(proxy)
 {
 }
コード例 #4
0
ファイル: TestHub.cs プロジェクト: royben/Resonance
 public TestHub(IHubContext <TestHub> context, IResonanceHubProxy <TestCredentials, TestServiceInformation, TestServiceInformation, TestAdapterInformation> proxy) : base(context, proxy)
 {
 }
コード例 #5
0
 /// <summary>
 /// Initializes a new instance of the <see cref="ResonanceHubCore{TCredentials, TServiceInformation, TReportedServiceInformation, TAdapterInformation, THub}"/> class.
 /// </summary>
 /// <param name="context">The hub context.</param>
 /// <param name="proxy">An instance of hub proxy.</param>
 public ResonanceHubCore(IHubContext <THub> context, IResonanceHubProxy <TCredentials, TServiceInformation, TReportedServiceInformation, TAdapterInformation> proxy)
 {
     _context = context;
     _proxy   = proxy;
     _proxy.Init(InvokeClient, GetConnectionId);
 }