예제 #1
0
 public void AddRange(SchemaNameCollection value)
 {
     if (value == null)
     {
         throw new ArgumentNullException(nameof(value));
     }
     object?[] oldValues = GetValue();
     object?[] newValues = new object?[oldValues.Length + value.Count];
     for (int i = 0; i < oldValues.Length; i++)
     {
         newValues[i] = oldValues[i];
     }
     for (int i = oldValues.Length; i < newValues.Length; i++)
     {
         newValues[i] = value[i - oldValues.Length];
     }
     _propSetter(newValues);
 }
 public void AddRange(SchemaNameCollection value)
 {
     if (value == null)
     {
         throw new ArgumentNullException("value");
     }
     object[] objArray = this.GetValue();
     object[] objArray2 = new object[objArray.Length + value.Count];
     for (int i = 0; i < objArray.Length; i++)
     {
         objArray2[i] = objArray[i];
     }
     for (int j = objArray.Length; j < objArray2.Length; j++)
     {
         objArray2[j] = value[j - objArray.Length];
     }
     this.propSetter(objArray2);
 }
 public void AddRange(SchemaNameCollection value)
 {
     if (value == null)
     {
         throw new ArgumentNullException("value");
     }
     object[] objArray  = this.GetValue();
     object[] objArray2 = new object[objArray.Length + value.Count];
     for (int i = 0; i < objArray.Length; i++)
     {
         objArray2[i] = objArray[i];
     }
     for (int j = objArray.Length; j < objArray2.Length; j++)
     {
         objArray2[j] = value[j - objArray.Length];
     }
     this.propSetter(objArray2);
 }
 public void AddRange(SchemaNameCollection value)
 {
     Contract.Requires(value != null);
 }
예제 #5
0
 public void AddRange(SchemaNameCollection coll)
 {
     throw new NotImplementedException();
 }
예제 #6
0
		public void AddRange (SchemaNameCollection coll)
		{
			throw new NotImplementedException();
		}
예제 #7
0
 /// <include file='doc\SchemaNameCollection.uex' path='docs/doc[@for="SchemaNameCollection.AddRange1"]/*' />
 /// <devdoc>
 ///    <para>[To be supplied.]</para>
 /// </devdoc>
 public void AddRange(SchemaNameCollection value)
 {
     if (value == null)
     {
         throw new ArgumentNullException("value");
     }
     object[] oldValues = GetValue();
     object[] newValues = new object[oldValues.Length + value.Count];
     for (int i = 0; i < oldValues.Length; i++)
         newValues[i] = oldValues[i];
     for (int i = oldValues.Length; i < newValues.Length; i++)
         newValues[i] = value[i - oldValues.Length];
     _propSetter(newValues);
 }
 public void AddRange(SchemaNameCollection value)
 {
   Contract.Requires(value != null);
 }