You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The goal of this project is to provide an additional layer of abstraction, so that ASP.NET DI container doesn't force the hard dependencies on the OPC-UA library. Most of them are simply wrappers for interfaces from M2MCommunication.Core which they inject using UaooiServiceLocator. For the services to work it is neccessary to initialise them - ServiceContainerSetup class provides that functionality.
Services
Name
Description
MessageBusService
A wrapper for an injected IMessageBus implementation
MessageBusService
Implements IDisposable
A wrapper for an injected IMessageBus implementation
Constructors
Name
Description
MessageBusService()
Default constructor, tries to inject an instance of IMessageBus implementation into its property
Properties
Type
Name
Accessors
Description
IMessageBus
MessageBus
get;
Injected IMessageBus service
Methods
Return type
Name
Description
void
Dispose()
Disposes the MessageBus property
MEF helper classes
Name
Description
UaooiServiceLocator
An implementation of IServiceLocator which extends CommonServiceLocator.ServiceLocatorImplBase. Also implements IDisposable
ServiceContainerSetup
A class which should be used to initialise a DI container of the ServiceLocator
UaooiServiceLocator
Extends ServiceLocatorImplBase
Implements IDisposable
An implementation of a service locator design pattern.