Class IntentSynchronizationService
public class IntentSynchronizationService : IAsyncDisposable
- Inheritance
-
IntentSynchronizationService
- Implements
- Inherited Members
Constructors
IntentSynchronizationService(IIntentStorage, IClientTransport, ISafetyService)
public IntentSynchronizationService(IIntentStorage intentStorage, IClientTransport clientTransport, ISafetyService safetyService)
Parameters
intentStorageIIntentStorageclientTransportIClientTransportsafetyServiceISafetyService
IntentSynchronizationService(IIntentStorage, IClientTransport, ISafetyService, ILogger<IntentSynchronizationService>)
public IntentSynchronizationService(IIntentStorage intentStorage, IClientTransport clientTransport, ISafetyService safetyService, ILogger<IntentSynchronizationService> logger)
Parameters
intentStorageIIntentStorageclientTransportIClientTransportsafetyServiceISafetyServiceloggerILogger<IntentSynchronizationService>
IntentSynchronizationService(IIntentStorage, IClientTransport, ISafetyService, IEnumerable<IEventHandler<PostIntentSubmissionEvent>>, ILogger<IntentSynchronizationService>?)
public IntentSynchronizationService(IIntentStorage intentStorage, IClientTransport clientTransport, ISafetyService safetyService, IEnumerable<IEventHandler<PostIntentSubmissionEvent>> eventHandlers, ILogger<IntentSynchronizationService>? logger = null)
Parameters
intentStorageIIntentStorageclientTransportIClientTransportsafetyServiceISafetyServiceeventHandlersIEnumerable<IEventHandler<PostIntentSubmissionEvent>>loggerILogger<IntentSynchronizationService>
Methods
DisposeAsync()
Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources asynchronously.
public ValueTask DisposeAsync()
Returns
- ValueTask
A task that represents the asynchronous dispose operation.
StartAsync(CancellationToken)
public Task StartAsync(CancellationToken cancellationToken = default)
Parameters
cancellationTokenCancellationToken