コード例 #1
0
ファイル: CommandBase.cs プロジェクト: m-berkani/ClearCanvas
 /// <summary>
 /// Constructor for a ServerCommand.
 /// </summary>
 /// <param name="description">A description of the command</param>
 /// <param name="requiresRollback">bool telling if the command requires a rollback of the operation if it fails</param>
 protected CommandBase(string description, bool requiresRollback)
 {
     Description = description;
     RequiresRollback = requiresRollback;
     Statistics = new CommandStatistics(this);
 }
コード例 #2
0
ファイル: CommandBase.cs プロジェクト: hksonngan/Xian
 /// <summary>
 /// Constructor for a ServerCommand.
 /// </summary>
 /// <param name="description">A description of the command</param>
 /// <param name="requiresRollback">bool telling if the command requires a rollback of the operation if it fails</param>
 protected CommandBase(string description, bool requiresRollback)
 {
     Description      = description;
     RequiresRollback = requiresRollback;
     Statistics       = new CommandStatistics(this);
 }