/// <summary> /// Creates a copy of another set of spec rules. /// </summary> public RuleBasedSpecStore(RuleBasedSpecStore <TSpec> other) { this.DefaultSpec = other.DefaultSpec; this.instructionSpecs = new Dictionary <Type, Func <InstructionPrototype, TSpec> >( other.instructionSpecs); this.intrinsicSpecs = new Dictionary <string, Func <IntrinsicPrototype, TSpec> >( other.intrinsicSpecs); }