Beispiel #1
0
        internal static object SanitizedPhoneNumbersGetter(IPropertyBag propertyBag)
        {
            MultiValuedProperty <string> multiValuedProperty = new MultiValuedProperty <string>();

            foreach (ProviderPropertyDefinition propertyDefinition in ADOrgPersonSchema.SanitizedPhoneNumbers.SupportingProperties)
            {
                ICollection <string> collection = propertyBag[propertyDefinition] as ICollection <string>;
                if (collection != null)
                {
                    using (IEnumerator <string> enumerator2 = collection.GetEnumerator())
                    {
                        while (enumerator2.MoveNext())
                        {
                            string property = enumerator2.Current;
                            ADOrgPerson.SanitizedPhoneNumber(multiValuedProperty, property);
                        }
                        continue;
                    }
                }
                ADOrgPerson.SanitizedPhoneNumber(multiValuedProperty, propertyBag[propertyDefinition] as string);
            }
            return(multiValuedProperty);
        }
 // Token: 0x06001910 RID: 6416 RVA: 0x0006B67C File Offset: 0x0006987C
 public object[][] GetDirectReportsView(params PropertyDefinition[] returnProperties)
 {
     return(ADOrgPerson.GetDirectReportsView(base.Session, this, returnProperties));
 }
 // Token: 0x0600190F RID: 6415 RVA: 0x0006B66C File Offset: 0x0006986C
 public object[][] GetManagementChainView(bool getPeers, params PropertyDefinition[] returnProperties)
 {
     return(ADOrgPerson.GetManagementChainView(base.Session, this, getPeers, returnProperties));
 }