private IEnumerable <IStat> BuildStats(BuildParameters parameters) { var entities = _entityBuilder.Build(parameters.ModifierSourceEntity); var t = _coreBuilder.Build(parameters); return(entities.SelectMany(e => _statFactory(parameters, e, t))); }
private IEnumerable <IStat> ConvertStat(BuildParameters parameters, ICoreBuilder <string> identity, IStat stat) { var builtIdentity = identity.Build(parameters); return(from e in Entity.Build(stat.Entity) let i = $"On({builtIdentity}).By({e})" let registrationType = GainOnAction(stat, builtIdentity, e) select StatFactory.CopyWithSuffix(stat, i, stat.DataType, registrationType)); }
public new Ailment Build(BuildParameters parameters) => _ailment.Build(parameters);
public ChargeType Build(BuildParameters parameters) => _chargeType.Build(parameters);
public new Ailment Build() => _ailment.Build();
public TResult Build(BuildParameters parameters) => _operator(_left.Build(parameters), _right.Build(parameters));
public string Build(BuildParameters parameters) => _identity.Build(parameters);
public SkillDefinition Build(BuildParameters parameters) => _coreBuilder.Build(parameters);
public TOut Build(BuildParameters parameters) => _operator(_operand.Build(parameters));
public SkillDefinition Build() => _coreBuilder.Build();
public ChargeType Build() => _chargeType.Build();
public TOut Build() => _operator(_operand.Build());
public TResult Build() => _operator(_left.Build(), _right.Build());
public string Build() => _identity.Build();