상속: ProjectSnapshotChangeTrigger
예제 #1
0
        public DefaultGeneratedDocumentContainerStore(
            ForegroundDispatcher foregroundDispatcher,
            DocumentVersionCache documentVersionCache,
            GeneratedDocumentPublisher generatedDocumentPublisher)
        {
            if (foregroundDispatcher == null)
            {
                throw new ArgumentNullException(nameof(foregroundDispatcher));
            }

            if (documentVersionCache == null)
            {
                throw new ArgumentNullException(nameof(documentVersionCache));
            }

            if (generatedDocumentPublisher is null)
            {
                throw new ArgumentNullException(nameof(generatedDocumentPublisher));
            }

            _foregroundDispatcher       = foregroundDispatcher;
            _documentVersionCache       = documentVersionCache;
            _generatedDocumentPublisher = generatedDocumentPublisher;
            _store = new ConcurrentDictionary <string, GeneratedDocumentContainer>(FilePathComparer.Instance);
        }
        public DefaultGeneratedDocumentContainerStore(
            ProjectSnapshotManagerDispatcher projectSnapshotManagerDispatcher,
            DocumentVersionCache documentVersionCache,
            GeneratedDocumentPublisher generatedDocumentPublisher)
        {
            if (projectSnapshotManagerDispatcher is null)
            {
                throw new ArgumentNullException(nameof(projectSnapshotManagerDispatcher));
            }

            if (documentVersionCache is null)
            {
                throw new ArgumentNullException(nameof(documentVersionCache));
            }

            if (generatedDocumentPublisher is null)
            {
                throw new ArgumentNullException(nameof(generatedDocumentPublisher));
            }

            _projectSnapshotManagerDispatcher = projectSnapshotManagerDispatcher;
            _documentVersionCache             = documentVersionCache;
            _generatedDocumentPublisher       = generatedDocumentPublisher;
            _store = new ConcurrentDictionary <string, ReferenceOutputCapturingContainer>(FilePathComparer.Instance);
        }
예제 #3
0
        public UnsynchronizableContentDocumentProcessedListener(
            ProjectSnapshotManagerDispatcher projectSnapshotManagerDispatcher,
            DocumentVersionCache documentVersionCache,
            GeneratedDocumentPublisher generatedDocumentPublisher)
        {
            if (projectSnapshotManagerDispatcher == null)
            {
                throw new ArgumentNullException(nameof(projectSnapshotManagerDispatcher));
            }

            if (documentVersionCache == null)
            {
                throw new ArgumentNullException(nameof(documentVersionCache));
            }

            if (generatedDocumentPublisher is null)
            {
                throw new ArgumentNullException(nameof(generatedDocumentPublisher));
            }

            _projectSnapshotManagerDispatcher = projectSnapshotManagerDispatcher;
            _documentVersionCache             = documentVersionCache;
            _generatedDocumentPublisher       = generatedDocumentPublisher;
        }
예제 #4
0
        public UnsynchronizableContentDocumentProcessedListener(
            ForegroundDispatcher foregroundDispatcher,
            DocumentVersionCache documentVersionCache,
            GeneratedDocumentPublisher generatedDocumentPublisher)
        {
            if (foregroundDispatcher == null)
            {
                throw new ArgumentNullException(nameof(foregroundDispatcher));
            }

            if (documentVersionCache == null)
            {
                throw new ArgumentNullException(nameof(documentVersionCache));
            }

            if (generatedDocumentPublisher is null)
            {
                throw new ArgumentNullException(nameof(generatedDocumentPublisher));
            }

            _foregroundDispatcher       = foregroundDispatcher;
            _documentVersionCache       = documentVersionCache;
            _generatedDocumentPublisher = generatedDocumentPublisher;
        }