Пример #1
0
 public ActionPutTool(Townsman subject, ToolType toolType, ToolBench target)
     : base(subject)
 {
     this.toolType = toolType;
     this.target   = PreconditionUtils.EnsureNotNull(target, "target");
 }
Пример #2
0
 public ActionGetTool(Townsman subject, ToolType toolType, ToolBench source)
     : base(subject)
 {
     this.toolType = toolType;
     this.source   = PreconditionUtils.EnsureNotNull(source, "source");
 }