Пример #1
0
 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;
 }
Пример #2
0
		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;
		}
Пример #3
0
 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;
		}
Пример #5
0
 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;
 }
Пример #6
0
 BamlResourceNodeProvider(BamlSettingsImpl bamlSettings, IXamlOutputOptionsProvider xamlOutputOptionsProvider, IDocumentWriterService documentWriterService)
 {
     this.bamlSettings = bamlSettings;
     this.xamlOutputOptionsProvider = xamlOutputOptionsProvider;
     this.documentWriterService     = documentWriterService;
 }
Пример #7
0
		BamlResourceNodeProvider(BamlSettingsImpl bamlSettings, IXamlOutputOptionsProvider xamlOutputOptionsProvider, IDocumentWriterService documentWriterService) {
			this.bamlSettings = bamlSettings;
			this.xamlOutputOptionsProvider = xamlOutputOptionsProvider;
			this.documentWriterService = documentWriterService;
		}