Exemple #1
0
 public ExportTask(ExportProjectCommand owner, ModuleDef[] modules)
 {
     this.owner   = owner;
     this.modules = modules;
     this.cancellationTokenSource = new CancellationTokenSource();
     this.cancellationToken       = cancellationTokenSource.Token;
     this.dispatcher = Dispatcher.CurrentDispatcher;
     if (owner.bamlDecompiler != null)
     {
         this.bamlDecompiler = owner.bamlDecompiler.Value;
     }
 }
Exemple #2
0
			public ExportTask(ExportProjectCommand owner, ModuleDef[] modules) {
				this.owner = owner;
				this.modules = modules;
				cancellationTokenSource = new CancellationTokenSource();
				cancellationToken = cancellationTokenSource.Token;
				dispatcher = Dispatcher.CurrentDispatcher;
				if (owner.bamlDecompiler != null) {
					bamlDecompiler = owner.bamlDecompiler.Value;
					xamlOutputOptionsProvider = owner.xamlOutputOptionsProvider?.Value;
				}
			}