示例#1
0
 // Token: 0x0600043D RID: 1085 RVA: 0x0001815C File Offset: 0x0001635C
 private static void ParseStringValue(string dnString, out string stringPart, out string dnPart)
 {
     if (!ADObjectIdWithString.TryParseStringValue(dnString, out stringPart, out dnPart))
     {
         throw new FormatException(DirectoryStrings.InvalidDNStringFormat(dnString));
     }
 }
示例#2
0
        // Token: 0x0600043A RID: 1082 RVA: 0x0001807C File Offset: 0x0001627C
        internal static ADObjectIdWithString ParseDNStringSyntax(string value, Guid partitionGuid, OrganizationId orgId)
        {
            if (value == null)
            {
                throw new ArgumentNullException("value");
            }
            string arg;
            string extendedDN;

            ADObjectIdWithString.ParseStringValue(value, out arg, out extendedDN);
            ADObjectId adobjectId = ADObjectId.ParseExtendedDN(extendedDN, partitionGuid, orgId);

            ExTraceGlobals.ADObjectTracer.TraceDebug <string>(0L, "ADObjectIdWithString.ParseDNStringSyntax - Initialized with string part {0}", arg);
            return(new ADObjectIdWithString(arg, adobjectId));
        }
示例#3
0
        // Token: 0x06000435 RID: 1077 RVA: 0x00017FE4 File Offset: 0x000161E4
        public override bool Equals(object obj)
        {
            ADObjectIdWithString adobjectIdWithString = obj as ADObjectIdWithString;

            return(adobjectIdWithString != null && this.stringValue.Equals(adobjectIdWithString.StringValue) && this.objectIdValue.Equals(adobjectIdWithString.ObjectIdValue));
        }