C# Class Castle.ActiveRecord.EventListenerConfig

Afficher le fichier Open project: shosca/ActiveRecord Class Usage Examples

Méthodes publiques

Méthode Description
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.

Method Details

CreateSingletonInstance() public méthode

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

Equals() public méthode

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

EventListenerConfig() public méthode

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

EventListenerConfig() public méthode

Creates an instance for the given instance
public EventListenerConfig ( object listenerInstance ) : System
listenerInstance object The listener object to use
Résultat System

GetHashCode() public méthode

Object infrastructure
public GetHashCode ( ) : int
Résultat int

SetSingletonInstance() public méthode

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
Résultat void