sdk/dotnet/src/Microsoft.Datasync.Client/Offline/AbstractOfflineStore.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 async Task InitializeAsync(CancellationToken cancellationToken = default)
        {
            using (await initializationLock.AcquireAsync(cancellationToken).ConfigureAwait(false))
            {
                if (!Initialized)
                {
                    SystemTables.DefineAllSystemTables(this);
                    await InitializeOfflineStoreAsync(cancellationToken).ConfigureAwait(false);
                    Initialized = true;
                }
            }
        }
public async Task InitializeAsync ( CancellationToken cancellationToken = default ) { using ( await initializationLock . AcquireAsync ( cancellationToken ) . ConfigureAwait ( false ) ) { if ( ! Initialized ) { SystemTables . DefineAllSystemTables ( this ) ; await InitializeOfflineStoreAsync ( cancellationToken ) . ConfigureAwait ( false ) ; Initialized = true ; } } }
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 .