To create a service
- Add a new interface to an appropriate module.
- Add members that the interface will define.
- Add a new class to the module or the shell.
- Inherit from the interface and add the required functionality to the members.
- Add the Service attribute to the class definition as shown in the following code.
[Service(Type=typeof(IMyService))]
public class MyService : IMyService
No comments:
Post a Comment