Пример #1
0
        public SerializerService(HostWorkspaceServices workspaceServices)
        {
            _workspaceServices = workspaceServices;

            _hostSerializationService = _workspaceServices.GetService <IReferenceSerializationService>();
            _tempService = _workspaceServices.GetService <ITemporaryStorageService>() as ITemporaryStorageService2;
            _textService = _workspaceServices.GetService <ITextFactoryService>();

            _lazyLanguageSerializationService = new ConcurrentDictionary <string, IOptionsSerializationService>(concurrencyLevel: 2, capacity: _workspaceServices.SupportedLanguages.Count());
        }
 public Service(ITemporaryStorageService2 service, IDocumentationProviderService documentationService)
     : base(service, documentationService)
 {
 }