protected override void OnParamsChanged(ICrawlerSourceParameters parameters)
            {
                var param = (SurugayaSourceParameters)parameters;

                RemovesQuotationMarksIndicator.Visibility =
                    param.TrimJapaneseQuotationMarks ? ViewStates.Visible : ViewStates.Gone;
            }
예제 #2
0
 public CrawlerParameters(ICrawlerSourceParameters parameters, ICrawlerVolatileParameters volatileParameters)
 {
     Parameters         = parameters;
     VolatileParameters = volatileParameters;
 }
예제 #3
0
 private void ApplyPriceOffsets(T item, ICrawlerSourceParameters parameters)
 {
     item.Price += (float)parameters.OffsetIncrease;
     item.Price += (float)(item.Price * parameters.PercentageIncrease / 100);
 }