Beispiel #1
0
        //"all"
        public Term Parse(string mechanism, Qualifier qualifier, string arguments)
        {
            All all = new All(mechanism, qualifier);

            if (!string.IsNullOrEmpty(arguments))
            {
                string errorMessage = string.Format(SpfParserResource.InvalidValueErrorMessage, Mechanism, mechanism);
                all.AddError(new Error(ErrorType.Error, errorMessage));
            }

            return all;
        }