Esempio n. 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)
     {
     }
 }
Esempio n. 2
0
 protected override void Persist(PersistCommand command)
 {
 }
Esempio n. 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) {
     }
 }
Esempio n. 4
0
 protected abstract void Persist(PersistCommand command);
Esempio n. 5
0
 protected override void Persist(PersistCommand command)
 {
 }
Esempio n. 6
0
 protected abstract void Persist(PersistCommand command);