MonoMobile.Views.CommandBarButtonItem.Execute C# (CSharp) Method

Execute() private method

private Execute ( object parameter ) : void
parameter object
return void
		private void Execute(object parameter)
		{
			if (CommandInterceptor != null)
			{
				CommandInterceptor.PreExecute(() => Command.Execute(CommandParameter));
				CommandInterceptor.PostExecute(() => Command.Execute(CommandParameter));
			}
			else
			{
				Command.Execute(parameter);
			}
		}
	}