public DecompileNodeContext(DecompilationContext decompilationContext, IDecompiler decompiler, IDecompilerOutput output, IDocumentWriterService documentWriterService, Dispatcher dispatcher) { if (decompilationContext == null) { throw new ArgumentNullException(nameof(decompilationContext)); } if (decompiler == null) { throw new ArgumentNullException(nameof(decompiler)); } if (output == null) { throw new ArgumentNullException(nameof(output)); } if (documentWriterService == null) { throw new ArgumentNullException(nameof(documentWriterService)); } if (dispatcher == null) { throw new ArgumentNullException(nameof(dispatcher)); } DecompilationContext = decompilationContext; Decompiler = decompiler; Output = output; DocumentWriterService = documentWriterService; this.dispatcher = dispatcher; }
public BamlResourceElementNode(ModuleDef module, ResourceElement resourceElement, byte[] bamlData, ITreeNodeGroup treeNodeGroup, BamlSettings bamlSettings, IXamlOutputOptionsProvider xamlOutputOptionsProvider, IDocumentWriterService documentWriterService) : base(treeNodeGroup, resourceElement) { this.module = module; this.bamlData = bamlData; this.bamlSettings = bamlSettings; this.xamlOutputOptionsProvider = xamlOutputOptionsProvider; this.documentWriterService = documentWriterService; }
DecompileDocumentTabContentFactory(IDsDocumentService documentService, IDocumentTreeNodeDecompiler documentTreeNodeDecompiler, IDecompilerService decompilerService, IDecompilationCache decompilationCache, IMethodAnnotations methodAnnotations, IContentTypeRegistryService contentTypeRegistryService, IDocumentViewerContentFactoryProvider documentViewerContentFactoryProvider, IDocumentWriterService documentWriterService) { DocumentService = documentService; DocumentTreeNodeDecompiler = documentTreeNodeDecompiler; DecompilerService = decompilerService; DecompilationCache = decompilationCache; MethodAnnotations = methodAnnotations; ContentTypeRegistryService = contentTypeRegistryService; DocumentViewerContentFactoryProvider = documentViewerContentFactoryProvider; DocumentWriterService = documentWriterService; }
BamlResourceNodeProvider(BamlSettingsImpl bamlSettings, IXamlOutputOptionsProvider xamlOutputOptionsProvider, IDocumentWriterService documentWriterService) { this.bamlSettings = bamlSettings; this.xamlOutputOptionsProvider = xamlOutputOptionsProvider; this.documentWriterService = documentWriterService; }