public void AddRange(ReadOnlyActiveDirectorySchemaPropertyCollection properties) { if (properties == null) { throw new ArgumentNullException("properties"); } foreach (ActiveDirectorySchemaProperty property in properties) { if (property == null) { throw new ArgumentException("properties"); } } int currentCount = properties.Count; for (int i = 0; i < currentCount; i++) { this.Add(properties[i]); } }
public void AddRange(ReadOnlyActiveDirectorySchemaPropertyCollection properties) { if (properties == null) { throw new ArgumentNullException("properties"); } using (IEnumerator enumerator = properties.GetEnumerator()) { while (enumerator.MoveNext()) { if (((ActiveDirectorySchemaProperty)enumerator.Current) == null) { throw new ArgumentException("properties"); } } } int count = properties.Count; for (int i = 0; i < count; i++) { this.Add(properties[i]); } }
public void AddRange(ReadOnlyActiveDirectorySchemaPropertyCollection properties) { if (properties != null) { foreach (ActiveDirectorySchemaProperty property in properties) { if (property != null) { continue; } throw new ArgumentException("properties"); } int count = properties.Count; for (int i = 0; i < count; i++) { this.Add(properties[i]); } return; } else { throw new ArgumentNullException("properties"); } }
public void AddRange(ReadOnlyActiveDirectorySchemaPropertyCollection properties) { throw new NotImplementedException(); }
public void AddRange (ReadOnlyActiveDirectorySchemaPropertyCollection properties) { throw new NotImplementedException (); }
public void AddRange(ReadOnlyActiveDirectorySchemaPropertyCollection properties) { if (properties == null) { throw new ArgumentNullException("properties"); } using (IEnumerator enumerator = properties.GetEnumerator()) { while (enumerator.MoveNext()) { if (((ActiveDirectorySchemaProperty) enumerator.Current) == null) { throw new ArgumentException("properties"); } } } int count = properties.Count; for (int i = 0; i < count; i++) { this.Add(properties[i]); } }
public void AddRange(ReadOnlyActiveDirectorySchemaPropertyCollection properties) { Contract.Requires(properties != null); }