private void RemoveDocumentFactories() { _documentService.Factories.Remove(_shaderDocumentFactory); _shaderDocumentFactory = null; }
private void AddDocumentFactories() { _shaderDocumentFactory = new ShaderDocumentFactory(Editor); _documentService.Factories.Add(_shaderDocumentFactory); }