public WidgetContainerAutoFetchState Clone() { WidgetContainerAutoFetchState state = new WidgetContainerAutoFetchState { SchedulerState = SchedulerState.Clone() }; return(state); }
public WidgetContainerAutoFetchState OpenWidgetContainerAutoFetchConfigWindow(WidgetContainerAutoFetchState state) { WidgetContainerAutoFetchEditWindow editWindow = new WidgetContainerAutoFetchEditWindow(state); editWindow.ShowDialog(); if (editWindow.DialogResult == true) { WidgetContainerAutoFetchState newState = editWindow.WidgetContainerAutoFetchState; return(newState); } return(null); }
public WidgetContainerAutoFetchManager(Func <object, EventArgs, Task> handler, WidgetContainerAutoFetchState state) { Fetch_Timer_TickAsync = handler; WidgetContainerAutoFetchState_ = state; DoInitialWireUp(); }
private void UpdateAutoFetchState(WidgetContainerAutoFetchState state) { AutoFetchState_ = state; UpdateAutoFetchState(); }