src/NetStandard/Collections/Collections/src/DataSources/Generic/AsyncDataSource{DataType}.cs
/// <summary>
/// The source <paramref name="enumerateScopeCancellationTokenSource"/> will be 
/// registered to <see cref="cancellationTokenSource"/> for being canceled and disposed.
/// </summary>
/// <param name="enumerateScopeCancellationTokenSource"></param>
The source  will be
registered to  for being canceled and disposed.
The source will be registered to for being canceled and disposed .
protected void RegisterCancellationTokenSource(CancellationTokenSource enumerateScopeCancellationTokenSource)
        {
            cancellationTokenSource.Token.Register(() => {
                enumerateScopeCancellationTokenSource?.Cancel();
                enumerateScopeCancellationTokenSource?.Dispose();
            });
        }
protected void RegisterCancellationTokenSource ( CancellationTokenSource enumerateScopeCancellationTokenSource ) { cancellationTokenSource . Token . Register ( ( ) => { enumerateScopeCancellationTokenSource ? . Cancel ( ) ; enumerateScopeCancellationTokenSource ? . Dispose ( ) ; } ) ; }
The source  will be
registered to  for being canceled and disposed.
The source will be registered to for being canceled and disposed .
// When the token source of this class gets canceled/disposed, // then also cancel/dispose the token source of this class.
enumerateScopeCancellationTokenSource
CancellationTokenSource
None