Documentation
Table of Contents

Method ReloadAsync

Namespace
IntentSharp.Catalog
Assembly
IntentSharp.Catalog.dll

ReloadAsync(CancellationToken)

Reads every definition file now and publishes a new snapshot (firing the change token). Content problems are reported in the snapshot. When the folder no longer exists, the snapshot keeps the previous definitions and reports that.

public Task<IntentCatalogSnapshot> ReloadAsync(CancellationToken cancellationToken = default)

Parameters

cancellationToken CancellationToken

Returns

Task<IntentCatalogSnapshot>