예제 #1
0
 protected override MultistepActionServiceContext CreateContext(int parentId, int id, bool?boundToExternal) => new MultistepActionServiceContext
 {
     CommandStates = new[]
     {
         _clearCommand.GetState(),
             _removeCommand.GetState()
     }
 };
예제 #2
0
        protected override MultistepActionServiceContext CreateContext(int parentId, int id, bool?boundToExternal)
        {
            var commandState = _command.GetState();

            return(new MultistepActionServiceContext {
                CommandStates = new[] { commandState }
            });
        }