Spring.NET 1.3.0 RC1 for .NET 2.0 API Reference

LocalSessionFactoryObject.EventListeners Property

Specify the NHibernate event listeners to register, with listener types as keys and listener objects as values.

Instead of a single listener object, you can also pass in a list or set of listeners objects as value.

[Visual Basic]
Public WriteOnly Property EventListeners() As IDictionary
   Public Set
   End Set
End Property
[C#]
public IDictionary EventListeners { public set; }

Property Value

listener objects as values

Remarks

See the NHibernate documentation for further details on listener types and associated listener interfaces.

See Also

LocalSessionFactoryObject Class | Spring.Data.NHibernate Namespace