C# 클래스 Castle.ActiveRecord.EventListenerConfig

파일 보기 프로젝트 열기: shosca/ActiveRecord 1 사용 예제들

공개 메소드들

메소드 설명
CreateSingletonInstance ( ) : void

Creates the singleton instance. If the instance is already set, the method does not replace it.

Equals ( object obj ) : bool

Compares the instance with another one for equality.

EventListenerConfig ( Type listenerType ) : System

Creates an instance for the given type

EventListenerConfig ( object listenerInstance ) : System

Creates an instance for the given instance

GetHashCode ( ) : int

Object infrastructure

SetSingletonInstance ( object instance ) : void

Sets the singleton instance. If the instance is already set, the method does not replace it.

메소드 상세

CreateSingletonInstance() 공개 메소드

Creates the singleton instance. If the instance is already set, the method does not replace it.
public CreateSingletonInstance ( ) : void
리턴 void

Equals() 공개 메소드

Compares the instance with another one for equality.
public Equals ( object obj ) : bool
obj object The config to compare with
리턴 bool

EventListenerConfig() 공개 메소드

Creates an instance for the given type
public EventListenerConfig ( Type listenerType ) : System
listenerType System.Type The listener type to use
리턴 System

EventListenerConfig() 공개 메소드

Creates an instance for the given instance
public EventListenerConfig ( object listenerInstance ) : System
listenerInstance object The listener object to use
리턴 System

GetHashCode() 공개 메소드

Object infrastructure
public GetHashCode ( ) : int
리턴 int

SetSingletonInstance() 공개 메소드

Sets the singleton instance. If the instance is already set, the method does not replace it.
public SetSingletonInstance ( object instance ) : void
instance object the instance to set
리턴 void