protected override void OnParamsChanged(ICrawlerSourceParameters parameters) { var param = (SurugayaSourceParameters)parameters; RemovesQuotationMarksIndicator.Visibility = param.TrimJapaneseQuotationMarks ? ViewStates.Visible : ViewStates.Gone; }
public CrawlerParameters(ICrawlerSourceParameters parameters, ICrawlerVolatileParameters volatileParameters) { Parameters = parameters; VolatileParameters = volatileParameters; }
private void ApplyPriceOffsets(T item, ICrawlerSourceParameters parameters) { item.Price += (float)parameters.OffsetIncrease; item.Price += (float)(item.Price * parameters.PercentageIncrease / 100); }