コード例 #1
0
ファイル: WordLength.cs プロジェクト: yreynhout/shaperon
 public int CompareTo(ByteLength other)
 {
     return(_value.CompareTo(other.ToWordLength().ToInt32()));
 }
コード例 #2
0
 public WordOffset Plus(ByteLength other) => new WordOffset(_value + other.ToWordLength().ToInt32());
コード例 #3
0
ファイル: WordLength.cs プロジェクト: yreynhout/shaperon
 public WordLength Minus(ByteLength other)
 {
     return(new WordLength(_value - other.ToWordLength().ToInt32()));
 }
コード例 #4
0
 public WordLength Minus(ByteLength other) => new WordLength(_value - other.ToWordLength().ToInt32());