sdk/dotnet/test/Datasync.Common.Test/Mocks/MockOfflineStore.cs
/// <summary>
/// Initializes the store for use.
/// </summary>
/// <param name="cancellationToken">A <see cref="CancellationToken"/> to observe.</param>
/// <returns>A task that completes when the store is ready to use.</returns>
Initializes the store for use.
Initializes the store for use .
public Task InitializeAsync(CancellationToken cancellationToken = default)
        {
            if (ExceptionToThrow != null)
            {
                throw ExceptionToThrow;
            }
            IsInitialized = true;
            return Task.CompletedTask;
        }
public Task InitializeAsync ( CancellationToken cancellationToken = default ) { if ( ExceptionToThrow != null ) { throw ExceptionToThrow ; } IsInitialized = true ; return Task . CompletedTask ; }
Initializes the store for use.
Initializes the store for use .
A task that completes when the store is ready to use.
A task that completes when the store is ready to use .
cancellationToken
CancellationToken
A  to observe.
A to observe .