Rev | Line | |
---|
[1146] | 1 | using System;
|
---|
| 2 | using System.Collections.Generic;
|
---|
| 3 | using System.Text;
|
---|
| 4 |
|
---|
| 5 | namespace IndianHealthService.BMXNet.Services
|
---|
| 6 | {
|
---|
| 7 | public interface LocalEventService
|
---|
| 8 | {
|
---|
| 9 | //Events
|
---|
| 10 | void Subscribe(String anEventName);
|
---|
| 11 | bool HasSubscribers(String anEventName);
|
---|
| 12 | void Unsubscribe(String anEventName);
|
---|
| 13 |
|
---|
| 14 | event EventHandler RefreshRequested;
|
---|
| 15 | event EventHandler<LocalEventArgs> ApplicationEvent;
|
---|
| 16 |
|
---|
| 17 | void TriggerEvent(String anEventName, String someDetails);
|
---|
| 18 |
|
---|
| 19 | //Well-known EHR events that apply to destop too
|
---|
| 20 |
|
---|
| 21 | }
|
---|
| 22 | }
|
---|
Note:
See
TracBrowser
for help on using the repository browser.