예제 #1
0
        private static Action CreateUpdateListAction(JObject jObject)
        {
            var action = new UpdateListAction();

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

            action(list);
            WriteFile(list);
        }