BudgetAnalyser.Engine.Widgets.TimedUpdateCounterWidget.TimedUpdateCounterWidget C# (CSharp) Method

TimedUpdateCounterWidget() public method

Initializes a new instance of the TimedUpdateCounterWidget class.
public TimedUpdateCounterWidget ( ) : System
return System
        public TimedUpdateCounterWidget()
        {
            Category = WidgetGroup.OverviewSectionName;
            Dependencies = new[]
            {
                typeof(StatementModel),
                typeof(BudgetCollection),
                typeof(IBudgetCurrencyContext),
                typeof(LedgerBook),
                typeof(IBudgetBucketRepository),
                typeof(GlobalFilterCriteria),
                typeof(LedgerCalculation)
            };
            RecommendedTimeIntervalUpdate = TimeSpan.FromSeconds(10);
            DetailedText = "Refresh Count";
            Name = "Refresh Interval Counter";
            ToolTip = "Counts the number of refreshes recieved by any widget as well as refreshing every 10 seconds.";
        }
TimedUpdateCounterWidget