Ejemplo n.º 1
0
        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();
 }
Ejemplo n.º 4
0
 private void UpdateAutoFetchState(WidgetContainerAutoFetchState state)
 {
     AutoFetchState_ = state;
     UpdateAutoFetchState();
 }