Class MessageServiceFactory
- Namespace
- NLightning.Infrastructure.Protocol.Factories
- Assembly
- NLightning.Infrastructure.dll
Factory for creating a message service.
public sealed class MessageServiceFactory : IMessageServiceFactory
- Inheritance
-
MessageServiceFactory
- Implements
- Inherited Members
Remarks
This class is used to create a message service in test environments.
Constructors
MessageServiceFactory(IMessageSerializer)
public MessageServiceFactory(IMessageSerializer messageSerializer)
Parameters
messageSerializer
IMessageSerializer
Methods
CreateMessageService(ITransportService)
Creates a message service.
public IMessageService CreateMessageService(ITransportService transportService)
Parameters
transportService
ITransportService