AppHarbor.AliasMatcher.IsSatisfiedBy C# (CSharp) Method

IsSatisfiedBy() public method

public IsSatisfiedBy ( string commandArgument ) : bool
commandArgument string
return bool
        public bool IsSatisfiedBy(string commandArgument)
        {
            try
            {
                GetMatchedType(commandArgument);
                return true;
            }
            catch (ArgumentException)
            {
            }

            return false;
        }