public static MutableEntry CreateUncommitted(string dn, params string[] objectClasses) { if (String.IsNullOrEmpty(dn)) throw new ArgumentException("dn cannot be null or empty", "dn"); MutableEntry entry = new MutableEntry(dn); entry.SetAttr("objectClass", objectClasses); return entry; }
public static MutableEntry CreateUncommitted(string dn, params string[] objectClasses) { if (String.IsNullOrEmpty(dn)) { throw new ArgumentException("dn cannot be null or empty", "dn"); } MutableEntry entry = new MutableEntry(dn); entry.SetAttr("objectClass", objectClasses); return(entry); }