C# Class DotNetStandard.Vent.EventAggregator

Show file Open project: Skookum/dotnetstandard Class Usage Examples

Public Methods

Method Description
Subscribe ( Event vent, Action callback ) : void
Trigger ( Event vent, object parameters ) : void
Unsubscribe ( Event vent, Action callback ) : void

Private Methods

Method Description
EventAggregator ( ) : System

Method Details

Subscribe() public method

public Subscribe ( Event vent, Action callback ) : void
vent Event
callback Action
return void

Trigger() public method

public Trigger ( Event vent, object parameters ) : void
vent Event
parameters object
return void

Unsubscribe() public method

public Unsubscribe ( Event vent, Action callback ) : void
vent Event
callback Action
return void