Beispiel #1
0
 private void InitBlock(LdapAttribute enclosingInstance)
 {
     this.enclosingInstance = enclosingInstance;
 }
Beispiel #2
0
 public URLData(LdapAttribute enclosingInstance, sbyte[] data, int length)
 {
     InitBlock(enclosingInstance);
     this.length = length;
     this.data   = data;
 }
Beispiel #3
0
        /// <summary> Returns <code>true</code> if this set contains an attribute of the same name
        /// as the specified attribute.
        ///
        /// </summary>
        /// <param name="attr">  Object of type <code>LdapAttribute</code>
        ///
        /// </param>
        /// <returns> true if this set contains the specified attribute
        ///
        /// @throws ClassCastException occurs the specified Object
        /// is not of type LdapAttribute.
        /// </returns>
        public override bool Contains(object attr)
        {
            LdapAttribute attribute = (LdapAttribute)attr;

            return(map.ContainsKey(attribute.Name.ToUpper()));
        }