C# 클래스 Microsoft.AspNet.SignalR.Hosting.PersistentConnectionFactory

Responsible for creating PersistentConnection instances.
파일 보기 프로젝트 열기: SignalR/SignalR 1 사용 예제들

공개 메소드들

메소드 설명
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.

메소드 상세

CreateInstance() 공개 메소드

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.
리턴 PersistentConnection

PersistentConnectionFactory() 공개 메소드

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