internal Worker(CssGoToLineProviderFactory providerFactory, INavigateToCallback navigateToCallback, string searchValue)
            {
                _providerFactory = providerFactory;
                _searchValue = searchValue;
                _navigateToCallback = navigateToCallback;
                _cancellationTokenSource = new CancellationTokenSource();
                _cancellationToken = _cancellationTokenSource.Token;

                ThreadPool.QueueUserWorkItem(DoWork, null);
            }
Ejemplo n.º 2
0
            internal Worker(CssGoToLineProviderFactory providerFactory, INavigateToCallback navigateToCallback, string searchValue)
            {
                _providerFactory         = providerFactory;
                _searchValue             = searchValue;
                _navigateToCallback      = navigateToCallback;
                _cancellationTokenSource = new CancellationTokenSource();
                _cancellationToken       = _cancellationTokenSource.Token;

                ThreadPool.QueueUserWorkItem(DoWork, null);
            }
 public CssGoToLineProvider(CssGoToLineProviderFactory owner)
 {
     _owner = owner;
 }
Ejemplo n.º 4
0
 public CssGoToLineProvider(CssGoToLineProviderFactory owner)
 {
     _owner = owner;
 }