private void InitBlock(LdapAttribute enclosingInstance) { this.enclosingInstance = enclosingInstance; }
public URLData(LdapAttribute enclosingInstance, sbyte[] data, int length) { InitBlock(enclosingInstance); this.length = length; this.data = data; }
/// <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())); }