Castle.MonoRail.Framework.Views.Aspx.CommandBinding.ToString C# (CSharp) Method

ToString() public method

Returns a that represents the current .
public ToString ( ) : string
return string
		public override string ToString()
		{
			if (string.IsNullOrEmpty(commandName))
			{
				return "Command";
			}

			if (!string.IsNullOrEmpty(actionName))
			{
				return string.Format("{0} => {1}", commandName, actionName);
			}
			
			return commandName;
		}
	}
CommandBinding