Bamboo.Prevalence.PrevalenceEngine.ExecuteCommand C# (CSharp) Метод

ExecuteCommand() публичный Метод

Executes a serializable command object. If the command throws an exception it WILL NOT be saved to the output log therefore any exception throwing command MUST NOT cause any change to the system state to occur.
when the engine
public ExecuteCommand ( ICommand command ) : object
command ICommand serializable command object that will be executed
Результат object
		public object ExecuteCommand(ICommand command)
		{	
			AssertNotPaused();
			Assertion.AssertParameterNotNull("command", command);

			AcquireWriterLock();
			try
			{
				return DoExecuteCommand(command);
			}
			finally
			{
				ReleaseWriterLock();
			}			
		}