Skip to main content

IArchiveLifecycleServiceProvider

Namespace: Meshmakers.Octo.Runtime.Contracts.StreamData

Resolves the tenant-scoped IArchiveLifecycleService for code that runs outside a tenant context, such as the runtime import: when a seed adds a column to an activated archive, the import hands the addition to the lifecycle service instead of writing the column definition without its storage. The storage backend registers the implementation; without one the import refuses such an addition.

public interface IArchiveLifecycleServiceProvider

Methods​

GetAsync(String)​

Returns the archive lifecycle service of tenantId, or null when the tenant is unknown or has stream data switched off.

Task<IArchiveLifecycleService> GetAsync(string tenantId)

Parameters​

tenantId String

Returns​

Task<IArchiveLifecycleService>