C# Class Microsoft.AspNet.SignalR.Hosting.PersistentConnectionFactory

Responsible for creating PersistentConnection instances.
ファイルを表示 Open project: SignalR/SignalR Class Usage Examples

Public Methods

Method Description
CreateInstance ( Type connectionType ) : PersistentConnection

Creates an instance of the specified type using the dependency resolver or the type's default constructor.

PersistentConnectionFactory ( IDependencyResolver resolver ) : System

Creates a new instance of the PersistentConnectionFactory class.

Method Details

CreateInstance() public method

Creates an instance of the specified type using the dependency resolver or the type's default constructor.
public CreateInstance ( Type connectionType ) : PersistentConnection
connectionType System.Type The type of to create.
return PersistentConnection

PersistentConnectionFactory() public method

Creates a new instance of the PersistentConnectionFactory class.
public PersistentConnectionFactory ( IDependencyResolver resolver ) : System
resolver IDependencyResolver The dependency resolver to use for when creating the .
return System