コード例 #1
0
 public Continuation(InstructionId instruction = null)
 {
     NextInstructions = instruction == null ? new List <InstructionId>() : new List <InstructionId> {
         instruction
     };
 }
コード例 #2
0
 public Instruction(Statement statement, InstructionId id, Continuation continuation = null)
 {
     Id           = id;
     Statement    = statement ?? throw new Exception("Instruction statement can't be null");
     Continuation = continuation ?? new Continuation();
 }