Novell.Directory.Ldap.LdapMatchingRuleSchema.LdapMatchingRuleSchema C# (CSharp) Method

LdapMatchingRuleSchema() public method

Constructs a matching rule definition from the raw string values returned from a schema query for "matchingRule" and for "matchingRuleUse" for the same rule.
public LdapMatchingRuleSchema ( System rawMatchingRule, System rawMatchingRuleUse ) : System
rawMatchingRule System The raw string value returned on a directory /// query for "matchingRule". /// ///
rawMatchingRuleUse System The raw string value returned on a directory /// query for "matchingRuleUse". ///
return System
        public LdapMatchingRuleSchema(System.String rawMatchingRule, System.String rawMatchingRuleUse)
            : base(LdapSchema.schemaTypeNames[LdapSchema.MATCHING])
        {
            try
            {
                SchemaParser matchParser = new SchemaParser(rawMatchingRule);
                base.names = new System.String[matchParser.Names.Length];
                matchParser.Names.CopyTo(base.names, 0);
                base.oid = matchParser.ID;
                base.description = matchParser.Description;
                base.obsolete = matchParser.Obsolete;
                this.syntaxString = matchParser.Syntax;
                if ((System.Object) rawMatchingRuleUse != null)
                {
                    SchemaParser matchUseParser = new SchemaParser(rawMatchingRuleUse);
                    this.attributes = matchUseParser.Applies;
                }
                base.Value = formatString();
            }
            catch (System.IO.IOException e)
            {
            }
            return ;
        }

Same methods

LdapMatchingRuleSchema::LdapMatchingRuleSchema ( System names, System oid, System description, System attributes, bool obsolete, System syntaxString ) : System