Here are the examples of the csharp api class System.Collections.ArrayList.AddRange(System.Collections.ICollection) taken from open source projects. By voting up you can indicate which examples are most useful and appropriate.
200 Examples
0
1. Example
Project: ContinuousTests
Source File: SettingsDialogBase.cs
Source File: SettingsDialogBase.cs
public void AddRange( params SettingsPage[] pages ) { this.InnerList.AddRange( pages ); }
0
2. Example
Project: ContinuousTests
Source File: SettingsDialogBase.cs
Source File: SettingsDialogBase.cs
public void AddRange( params SettingsPage[] pages ) { this.InnerList.AddRange( pages ); }
0
3. Example
Project: ContinuousTests
Source File: SettingsDialogBase.cs
Source File: SettingsDialogBase.cs
public void AddRange( params SettingsPage[] pages ) { this.InnerList.AddRange( pages ); }
0
4. Example
Project: MapleShark
Source File: ByteCollection.cs
Source File: ByteCollection.cs
public void AddRange(byte[] bs) { InnerList.AddRange(bs); }
0
5. Example
Project: dp2
Source File: DTLPParam.cs
Source File: DTLPParam.cs
static int addr_buff(ArrayList aPackage, byte []baBuffer, int nLen) { // ??????????? if (nLen == baBuffer.Length) aPackage.AddRange(baBuffer); else { char [] buffer = new char [nLen]; Array.Copy(baBuffer, 0, buffer, 0 , nLen); aPackage.AddRange(buffer); } return 0; }
0
6. Example
Project: prologdotnet
Source File: AMAssemblyCache.cs
Source File: AMAssemblyCache.cs
public override void LoadAssemblyFiles(ArrayList a) { _assemblyFiles.AddRange(a); }
0
7. Example
Project: prologdotnet
Source File: AMAssemblyCache.cs
Source File: AMAssemblyCache.cs
public override void LoadNamespaces(ArrayList n) { _namespaces.AddRange(n); }
0
8. Example
Project: prologdotnet
Source File: AMAssemblyCache.cs
Source File: AMAssemblyCache.cs
public override void Load(ArrayList namespaces, ArrayList assemblyFiles) { if (_namespaces != null && _namespaces.Count > 0) { _namespaces.AddRange(namespaces); } _assemblyFiles.AddRange(assemblyFiles); }
0
9. Example
Project: NSMB-Editor
Source File: ByteCollection.cs
Source File: ByteCollection.cs
public void AddRange(byte[] bs) { InnerList.AddRange(bs); }
0
10. Example
Project: DotNetSiemensPLCToolBoxLibrary
Source File: ByteCollection.cs
Source File: ByteCollection.cs
public void AddRange(byte[] bs) { InnerList.AddRange(bs); }
0
11. Example
Project: MdxClient
Source File: MdxParameterCollection.cs
Source File: MdxParameterCollection.cs
public void AddRange(MdxParameter[] values) { if (null != values) { _items.AddRange(values); } }
0
12. Example
Project: MdxClient
Source File: MdxParameterCollection.cs
Source File: MdxParameterCollection.cs
public override void AddRange(Array values) { if (null != values) { _items.AddRange(values); } }
0
13. Example
Project: NosDB
Source File: NosDataParameterCollection.cs
Source File: NosDataParameterCollection.cs
public override void AddRange(Array values) { this._list.AddRange(values); }
0
14. Example
Project: NosDB
Source File: DatabaseStateTransferManager.cs
Source File: DatabaseStateTransferManager.cs
private ICollection GetBucketsForStateTransfer(IDistribution distribution) { ArrayList bucketList = new ArrayList(); if (distribution != null) { try { bucketList.AddRange(distribution.GetBucketsForShard(context.LocalShardName)); } catch (Exception) { } } return bucketList; }
0
15. Example
Project: NCache
Source File: ClientConfigManager.cs
Source File: ClientConfigManager.cs
public static void AvailableNIC(Hashtable nic) { if (nic != null) { ipAddresses.AddRange(nic.Keys); } }
0
16. Example
Project: tesvsnip
Source File: ByteCollection.cs
Source File: ByteCollection.cs
public void AddRange(byte[] bs) { InnerList.AddRange(bs); }
0
17. Example
Project: tesvsnip
Source File: DropSink.cs
Source File: DropSink.cs
public void RefreshObjects() { toBeRefreshed.AddRange(SourceModels); var tlv = SourceListView as TreeListView; if (tlv == null) SourceListView.RefreshObjects(toBeRefreshed); else tlv.RebuildAll(true); var tlv2 = ListView as TreeListView; if (tlv2 == null) ListView.RefreshObject(TargetModel); else tlv2.RebuildAll(true); }
0
18. Example
Project: falloutsnip
Source File: ByteCollection.cs
Source File: ByteCollection.cs
public void AddRange(byte[] bs) { InnerList.AddRange(bs); }
0
19. Example
Project: falloutsnip
Source File: DropSink.cs
Source File: DropSink.cs
public void RefreshObjects() { toBeRefreshed.AddRange(SourceModels); var tlv = SourceListView as TreeListView; if (tlv == null) SourceListView.RefreshObjects(toBeRefreshed); else tlv.RebuildAll(true); var tlv2 = ListView as TreeListView; if (tlv2 == null) ListView.RefreshObject(TargetModel); else tlv2.RebuildAll(true); }
0
20. Example
Project: fomm
Source File: ByteCollection.cs
Source File: ByteCollection.cs
public void AddRange(byte[] bs) { InnerList.AddRange(bs); }
0
21. Example
Project: core
Source File: SortableCollection.cs
Source File: SortableCollection.cs
public virtual void AddRange(SortableCollection<T> collection) { InnerList.AddRange(collection); }
0
22. Example
Project: core
Source File: SortableCollection.cs
Source File: SortableCollection.cs
public virtual void AddRange(T[] collection) { InnerList.AddRange(collection); }
0
23. Example
Project: NBTExplorer
Source File: ByteCollection.cs
Source File: ByteCollection.cs
public void AddRange(byte[] bs) { InnerList.AddRange(bs); }
0
24. Example
Project: logwizard
Source File: DropSink.cs
Source File: DropSink.cs
public void RefreshObjects() { toBeRefreshed.AddRange(this.SourceModels); TreeListView tlv = this.SourceListView as TreeListView; if (tlv == null) this.SourceListView.RefreshObjects(toBeRefreshed); else tlv.RebuildAll(true); TreeListView tlv2 = this.ListView as TreeListView; if (tlv2 == null) this.ListView.RefreshObject(this.TargetModel); else tlv2.RebuildAll(true); }
0
25. Example
Project: JustUO
Source File: Town.cs
Source File: Town.cs
public ArrayList BuildFinanceList() { ArrayList list = new ArrayList(); List<VendorList> vendorLists = this.VendorLists; for (int i = 0; i < vendorLists.Count; ++i) list.AddRange(vendorLists[i].Vendors); List<GuardList> guardLists = this.GuardLists; for (int i = 0; i < guardLists.Count; ++i) list.AddRange(guardLists[i].Guards); return list; }
0
26. Example
Project: JustUO
Source File: MyRunUO.cs
Source File: MyRunUO.cs
public void CollectGuilds(DateTime endTime) { this.m_List.AddRange(Guild.List.Values); this.m_Stage = Stage.DumpingGuilds; this.m_Index = 0; }
0
27. Example
Project: JustUO
Source File: PersistableObjectCollection.cs
Source File: PersistableObjectCollection.cs
public void AddRange(PersistableObject[] col) { this.InnerList.AddRange(col); }
0
28. Example
Project: Bulk-Crap-Uninstaller
Source File: DropSink.cs
Source File: DropSink.cs
public void RefreshObjects() { toBeRefreshed.AddRange(this.SourceModels); TreeListView tlv = this.SourceListView as TreeListView; if (tlv == null) this.SourceListView.RefreshObjects(toBeRefreshed); else tlv.RebuildAll(true); TreeListView tlv2 = this.ListView as TreeListView; if (tlv2 == null) this.ListView.RefreshObject(this.TargetModel); else tlv2.RebuildAll(true); }
0
29. Example
Project: ME3Explorer
Source File: ByteCollection.cs
Source File: ByteCollection.cs
public void AddRange(byte[] bs) { InnerList.AddRange(bs); }
0
30. Example
Project: ME3Explorer
Source File: PActivityList.cs
Source File: PActivityList.cs
public void AddRange(PActivityList list) { InnerList.AddRange(list); }
0
31. Example
Project: ME3Explorer
Source File: PCameraList.cs
Source File: PCameraList.cs
public void AddRange(PCameraList list) { InnerList.AddRange(list); }
0
32. Example
Project: ME3Explorer
Source File: PLayerList.cs
Source File: PLayerList.cs
public void AddRange(PLayerList list) { InnerList.AddRange(list); }
0
33. Example
Project: ME3Explorer
Source File: PNodeList.cs
Source File: PNodeList.cs
public void AddRange(PNodeList list) { InnerList.AddRange(list); }
0
34. Example
Project: referencesource
Source File: arraylist.cs
Source File: arraylist.cs
public override void AddRange(ICollection c) { lock(_root) { _list.AddRange(c); } }
0
35. Example
Project: logging-log4net
Source File: RemotingAppenderTest.cs
Source File: RemotingAppenderTest.cs
public void LogEvents(LoggingEvent[] events) { m_events.AddRange(events); }
0
36. Example
Project: virtual-reality
Source File: lq.cs
Source File: lq.cs
public ArrayList getAllObjects () { int i; int bincount = divx * divy * divz; ArrayList returnList = new ArrayList(); for (i=0; i<bincount; i++) { returnList.AddRange(bins[i].clientList);//, func, clientQueryState)); } returnList.AddRange(other.clientList);//, func, clientQueryState)); return returnList; }
0
37. Example
Project: nHydrate
Source File: RowEntryCollection.cs
Source File: RowEntryCollection.cs
public override void AddRange(ICollection list) { internalList.AddRange(list); }
0
38. Example
Project: ncmb_unity
Source File: NCMBAddOperation.cs
Source File: NCMBAddOperation.cs
public INCMBFieldOperation MergeWithPrevious (INCMBFieldOperation previous) { if (previous == null) { return this; } if ((previous is NCMBDeleteOperation)) { return new NCMBSetOperation (this.objects); } if ((previous is NCMBSetOperation)) { object value = ((NCMBSetOperation)previous).getValue (); if ((value is IList)) { ArrayList result = new ArrayList ((IList)value); result.AddRange (this.objects); return new NCMBSetOperation (result); } throw new InvalidOperationException ("You can only add an item to a List."); } if ((previous is NCMBAddOperation)) { ArrayList result = new ArrayList (((NCMBAddOperation)previous).objects); result.AddRange (this.objects); return new NCMBAddOperation (result); } throw new InvalidOperationException ("Operation is invalid after previous operation."); }
0
39. Example
Project: ncmb_unity
Source File: NCMBAddOperation.cs
Source File: NCMBAddOperation.cs
public object Apply (object oldValue, NCMBObject obj, string key) { if (oldValue == null) { return this.objects; } if ((oldValue is IList)) { ArrayList result = new ArrayList ((IList)oldValue); result.AddRange (this.objects); return result; } throw new InvalidOperationException ("Operation is invalid after previous operation."); }
0
40. Example
Project: RatioMaster.NET
Source File: NSTraceListeners.cs
Source File: NSTraceListeners.cs
public void AddRange(TraceListener[] listeners) { _listeners.AddRange(listeners); }
0
41. Example
Project: RatioMaster.NET
Source File: NSTraceListeners.cs
Source File: NSTraceListeners.cs
public void AddRange(NSTraceListeners listeners) { _listeners.AddRange(listeners); }
0
42. Example
Project: RatioMaster.NET
Source File: NSTraceListeners.cs
Source File: NSTraceListeners.cs
public void AddRange(TraceListenerCollection listeners) { _listeners.AddRange(listeners); }
0
43. Example
Project: CommunityServer
Source File: SqlQuery.cs
Source File: SqlQuery.cs
public SqlQuery GroupBy(params string[] columns) { groups.AddRange(columns); return this; }
0
44. Example
Project: CommunityServer
Source File: SqlQuery.cs
Source File: SqlQuery.cs
public SqlQuery GroupBy(params int[] positins) { groups.AddRange(positins); return this; }
0
45. Example
Project: ServiceBusExplorer
Source File: DynamicCustomTypeDescriptor.cs
Source File: DynamicCustomTypeDescriptor.cs
private void GenericPropertyValueUIHandler(ITypeDescriptorContext context, PropertyDescriptor propDesc, ArrayList itemList) { var cpd = propDesc as CustomPropertyDescriptor; if (cpd != null && cpd.StateItems != null) { itemList.AddRange(cpd.StateItems as ICollection); } }
0
46. Example
Project: pgina
Source File: RemotingAppenderTest.cs
Source File: RemotingAppenderTest.cs
public void LogEvents(LoggingEvent[] events) { m_events.AddRange(events); }
0
47. Example
Project: Be.HexEditor
Source File: ByteCollection.cs
Source File: ByteCollection.cs
public void AddRange(byte[] bs) { InnerList.AddRange(bs); }
0
48. Example
Project: Aspose.Pdf-for-.NET
Source File: RemoveGraphicsObjects.cs
Source File: RemoveGraphicsObjects.cs
public static void Run() { // ExStart:RemoveGraphicsObjects // The path to the documents directory. string dataDir = RunExamples.GetDataDir_AsposePdf_Operators(); Document doc = new Document(dataDir+ "RemoveGraphicsObjects.pdf"); Page page = doc.Pages[2]; OperatorCollection oc = page.Contents; // Used path-painting operators Operator[] operators = new Operator[] { new Operator.Stroke(), new Operator.ClosePathStroke(), new Operator.Fill() }; ArrayList list = new ArrayList(); foreach (Operator op in operators) { OperatorSelector os = new OperatorSelector(op); oc.Accept(os); list.AddRange(os.Selected); } oc.Delete(list); doc.Save(dataDir+ "No_Graphics_out.pdf"); // ExEnd:RemoveGraphicsObjects }
0
49. Example
Project: AberrantSMPP
Source File: Pdu.cs
Source File: Pdu.cs
protected void AddTlvBytes(ref ArrayList pdu) { ArrayList tlvs = _tlvTable.GenerateByteEncodedTlv(); foreach(byte[] tlv in tlvs) { #if DEBUG StringBuilder sb = new StringBuilder("\nAdding TLV bytes\n"); for(int i = 0; i < tlv.Length; i++) { sb.Append(tlv[i].ToString("X").PadLeft(2, '0')); sb.Append(" "); } sb.Append("\n"); Console.WriteLine(sb); #endif pdu.AddRange(tlv); } }
0
50. Example
Project: runuo
Source File: Town.cs
Source File: Town.cs
public ArrayList BuildFinanceList() { ArrayList list = new ArrayList(); List<VendorList> vendorLists = VendorLists; for ( int i = 0; i < vendorLists.Count; ++i ) list.AddRange( vendorLists[i].Vendors ); List<GuardList> guardLists = GuardLists; for ( int i = 0; i < guardLists.Count; ++i ) list.AddRange( guardLists[i].Guards ); return list; }