Table of Contents

Interface IStarterCompletionPersister

Namespace
Tlabs.JobCntrl
Assembly
Tlabs.JobCntrl.dll

Service interface of a component class that persists IStarterCompletion data.

public interface IStarterCompletionPersister
Extension Methods

Methods

GetLastCompletionInfo(string, out string, out Encoding)

Returns a starters completion persistent info as a stream.

Stream? GetLastCompletionInfo(string starterName, out string contentType, out Encoding encoding)

Parameters

starterName string

starter instance name

contentType string

returned streams MIME content type

encoding Encoding

returned streams text encoding

Returns

Stream

A binray data stream for reading that must be disposed after usage ore null if no completion info available.

StoreCompletionInfo(IStarterCompletion)

Store starters completion info in a persistent storage.

void StoreCompletionInfo(IStarterCompletion starterCompletion)

Parameters

starterCompletion IStarterCompletion

Events

CompletionInfoPersisted

Event fired when a starter completion info has been persisted.

event Action<IStarterCompletionPersister, IStarterCompletion, object?> CompletionInfoPersisted

Event Type

Action<IStarterCompletionPersister, IStarterCompletion, object>