Esempio n. 1
0
        private static Action CreateUpdateListAction(JObject jObject)
        {
            var action = new UpdateListAction();

            ApplyUpdateData(action.Data, jObject);
            return(action);
        }
Esempio n. 2
0
        private void UpdateList(UpdateListAction action)
        {
            var list = ReadFile();

            action(list);
            WriteFile(list);
        }