Пример #1
0
 protected override void Persist(PersistCommand command)
 {
     if (command is PersistOpenCommand)
     {
         OpenCommand((PersistOpenCommand)command);
     }
     else if (command is PersistSetSizeCommand)
     {
         SetSizeCommand((PersistSetSizeCommand)command);
     }
     else if (command is PersistPageChangeCommand)
     {
         PageChangeCommand((PersistPageChangeCommand)command);
     }
     else if (command.CommandType == PersistCommandType.Close)
     {
         CloseCommand();
     }
     else if (command.CommandType == PersistCommandType.Delete)
     {
         DeleteCommand();
     }
     else if (command.CommandType == PersistCommandType.Synch)
     {
         SynchCommand();
     }
     else if (command.CommandType == PersistCommandType.PostRecover)
     {
     }
 }
Пример #2
0
 protected override void Persist(PersistCommand command)
 {
 }
Пример #3
0
 protected override void Persist(PersistCommand command)
 {
     if (command is PersistOpenCommand) {
         OpenCommand((PersistOpenCommand) command);
     } else if (command is PersistSetSizeCommand) {
         SetSizeCommand((PersistSetSizeCommand) command);
     } else if (command is PersistPageChangeCommand) {
         PageChangeCommand((PersistPageChangeCommand) command);
     } else if (command.CommandType == PersistCommandType.Close) {
         CloseCommand();
     } else if (command.CommandType == PersistCommandType.Delete) {
         DeleteCommand();
     } else if (command.CommandType == PersistCommandType.Synch) {
         SynchCommand();
     } else if (command.CommandType == PersistCommandType.PostRecover) {
     }
 }
Пример #4
0
 protected abstract void Persist(PersistCommand command);
Пример #5
0
 protected override void Persist(PersistCommand command)
 {
 }
Пример #6
0
 protected abstract void Persist(PersistCommand command);