sdk/dotnet/src/Microsoft.Datasync.Client/Offline/SyncContext.cs
/// <summary>
/// Ensures that the <see cref="SyncContext"/> has been initialized before use.
/// </summary>
/// <exception cref="InvalidOperationException">if the <see cref="SyncContext"/> has not been initialized.</exception>
Ensures that the  has been initialized before use.
Ensures that the has been initialized before use .
private void EnsureContextIsInitialized()
        {
            if (!IsInitialized)
            {
                throw new InvalidOperationException("The synchronization context must be initialized before an offline store can be used.");
            }
        }
private void EnsureContextIsInitialized ( ) { if ( ! IsInitialized ) { throw new InvalidOperationException ( " " ) ; } }
Ensures that the  has been initialized before use.
Ensures that the has been initialized before use .
if the  has not been initialized.
if the has not been initialized .