よく使われるメソッド
よく使われるメソッド
よく使われるメソッド
よく使われるメソッド
public BoardMove(BoardLocation from, BoardLocation to, int moveType, object extraData = null) { Guard.ArgumentException(() => from.Equals(to), "Cannot move to same place as starting location"); From = from; To = to; MoveType = moveType; ExtraData = extraData; }