public static void Configure(IClientIdFactory factory = null) { if (factory != null) { _instance._clientIdFactory = factory; } }
protected PersistentConnection(Signaler signaler, IClientIdFactory clientIdFactory, IMessageStore store, IJsonSerializer jsonSerializer) { _signaler = signaler; _clientIdFactory = clientIdFactory; _store = store; _jsonSerializer = jsonSerializer; }
protected PersistentConnection(Signaler signaler, IClientIdFactory clientIdFactory, IMessageStore store, IJsonStringifier jsonStringifier) { _signaler = signaler; _clientIdFactory = clientIdFactory; _store = store; _jsonStringifier = jsonStringifier; }
public HubDispatcher(IHubFactory hubFactory, IMessageStore store, Signaler signaler, IClientIdFactory clientIdFactory, IActionResolver actionResolver, IJavaScriptProxyGenerator proxyGenerator, IJsonStringifier jsonStringifier, IHubLocator hubLocator, string url) : base(signaler, clientIdFactory, store, jsonStringifier) { _hubFactory = hubFactory; _store = store; _signaler = signaler; _actionResolver = actionResolver; _proxyGenerator = proxyGenerator; _hubLocator = hubLocator; _url = VirtualPathUtility.ToAbsolute(url); }
public HubDispatcher(IHubFactory hubFactory, IMessageStore store, Signaler signaler, IClientIdFactory clientIdFactory, IActionResolver actionResolver, IJavaScriptProxyGenerator proxyGenerator, IJsonStringifier jsonStringifier, IHubLocator hubLocator, string url) : base(signaler, clientIdFactory, store, jsonStringifier) { _hubFactory = hubFactory; _store = store; _signaler = signaler; _actionResolver = actionResolver; _proxyGenerator = proxyGenerator; _hubLocator = hubLocator; _url = VirtualPathUtility.ToAbsolute(url); }