public DefaultGeneratedCodeContainerStore( ForegroundDispatcher foregroundDispatcher, DocumentVersionCache documentVersionCache, CSharpPublisher csharpPublisher) { if (foregroundDispatcher == null) { throw new ArgumentNullException(nameof(foregroundDispatcher)); } if (documentVersionCache == null) { throw new ArgumentNullException(nameof(documentVersionCache)); } if (csharpPublisher is null) { throw new ArgumentNullException(nameof(csharpPublisher)); } _foregroundDispatcher = foregroundDispatcher; _documentVersionCache = documentVersionCache; _csharpPublisher = csharpPublisher; _store = new ConcurrentDictionary <string, GeneratedCodeContainer>(FilePathComparer.Instance); }
public UnsynchronizableContentDocumentProcessedListener( ForegroundDispatcher foregroundDispatcher, DocumentVersionCache documentVersionCache, CSharpPublisher csharpPublisher) { if (foregroundDispatcher == null) { throw new ArgumentNullException(nameof(foregroundDispatcher)); } if (documentVersionCache == null) { throw new ArgumentNullException(nameof(documentVersionCache)); } if (csharpPublisher is null) { throw new ArgumentNullException(nameof(csharpPublisher)); } _foregroundDispatcher = foregroundDispatcher; _documentVersionCache = documentVersionCache; _csharpPublisher = csharpPublisher; }