示例#1
0
        // Methods
        public Task Execute(IJobExecutionContext context)
        {
            #region Contracts

            if (context == null)
            {
                throw new ArgumentException(nameof(context));
            }

            #endregion

            // Execute
            return(Task.Run(() =>
            {
                // Snapshot
                _todoContext.Snapshot();
            }));
        }