コード例 #1
0
            // Token: 0x06001367 RID: 4967 RVA: 0x00071468 File Offset: 0x0006F668
            protected void RememberIfLinkHasValue(ADRawEntry adRawEntry)
            {
                bool flag = false;

                if ((((ADPropertyDefinition)this.linkProperty).Flags & ADPropertyDefinitionFlags.MultiValued) != ADPropertyDefinitionFlags.None)
                {
                    MultiValuedProperty <ADObjectId> multiValuedProperty = (MultiValuedProperty <ADObjectId>)adRawEntry[this.linkProperty];
                    if (multiValuedProperty != null && multiValuedProperty.Count > 0)
                    {
                        flag = true;
                    }
                }
                else
                {
                    ADObjectId adobjectId = (ADObjectId)adRawEntry[this.linkProperty];
                    if (adobjectId != null)
                    {
                        flag = true;
                    }
                }
                if (flag)
                {
                    adRawEntry.SetIsReadOnly(false);
                    adRawEntry[this.placeholderProperty] = true;
                    adRawEntry[this.linkProperty]        = null;
                }
            }