C# Класс Castle.ActiveRecord.EventListenerConfig

Показать файл Открыть проект Примеры использования класса

Открытые методы

Метод Описание
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