Line | |
---|
1 | using System;
|
---|
2 | using System.Collections.Generic;
|
---|
3 | using System.Text;
|
---|
4 |
|
---|
5 | namespace IndianHealthService.BMXNet
|
---|
6 | {
|
---|
7 | /// <summary>
|
---|
8 | /// This interface is used on UserControl-based components which are designed to work both inside
|
---|
9 | /// the EHR and inside a WinForm application. "Consumer" interfaces basically tell Frameworks
|
---|
10 | /// that a "Consumer"-implementating object need a specific service, versus the service being queried.
|
---|
11 | /// </summary>
|
---|
12 | /// <remarks>
|
---|
13 | /// If your component doesn't implement LocalConsumer you can still have a user-control. However, implementing
|
---|
14 | /// LocalConsumer is very common because of exclusive access to the patient/visit Context.
|
---|
15 | /// </remarks>
|
---|
16 | public interface LocalConsumer
|
---|
17 | {
|
---|
18 | /// <summary>
|
---|
19 | /// This property is set with a LocalSession by the framework. The receiver uses it for Context,
|
---|
20 | /// local Events, and other services.
|
---|
21 | /// </summary>
|
---|
22 | LocalSession LocalSession { set; }
|
---|
23 | }
|
---|
24 | }
|
---|
Note:
See
TracBrowser
for help on using the repository browser.