コード例 #1
0
ファイル: ValueBuilders.cs プロジェクト: zsmj007/PoESkillTree
 public IValueBuilder FromMinAndMax(IValueBuilder minimumValue, IValueBuilder maximumValue) =>
 ValueBuilderImpl.Create(minimumValue, maximumValue, CalculateFromMinAndMax,
                         (l, r) => "Value(min: " + l + ", max: " + r + ")");
コード例 #2
0
 public IValueBuilder FromMinAndMax(IValueBuilder minimumValue, IValueBuilder maximumValue) =>
 ValueBuilderImpl.Create(minimumValue, maximumValue, (o1, o2) => CalculateFromMinAndMax(o1, o2),
                         (l, r) => $"Value(min: {l}, max: {r})");