public static IDisassembler CreateDisassembler(DisassemblerType type, IDisassemblable cpu) { var disas = RegisteredDisassemblers[type]; return(!(disas.IsAvailable() && disas.IsAvailableForArchitecture(cpu.Architecture)) ? null : RegisteredDisassemblers[type].Construct(cpu)); }
public static IDisassembler CreateDisassembler(DisassemblerType type, IDisassemblable cpu) { var disas = RegisteredDisassemblers[type]; return !(disas.IsAvailable() && disas.IsAvailableForArchitecture(cpu.Architecture)) ? null : RegisteredDisassemblers[type].Construct(cpu); }