/// <summary> /// Initializes object with the specified DXConnection object. /// </summary> public DXConnectionQuery(DXConnectionQuery query) { if (query != null) { Name = query.Name; BrowsePath = query.BrowsePath; Recursive = query.Recursive; m_masks = new DXConnectionCollection(query.Masks); } }
// Token: 0x0600011A RID: 282 RVA: 0x0000583C File Offset: 0x0000483C public virtual object Clone() { DXConnectionQueryCollection dxconnectionQueryCollection = (DXConnectionQueryCollection)base.MemberwiseClone(); dxconnectionQueryCollection.m_queries = new ArrayList(); foreach (object obj in this.m_queries) { DXConnectionQuery dxconnectionQuery = (DXConnectionQuery)obj; dxconnectionQueryCollection.m_queries.Add(dxconnectionQuery.Clone()); } return dxconnectionQueryCollection; }
// Token: 0x06000119 RID: 281 RVA: 0x000057D4 File Offset: 0x000047D4 internal void Initialize(ICollection queries) { this.m_queries.Clear(); if (queries != null) { foreach (object obj in queries) { DXConnectionQuery value = (DXConnectionQuery)obj; this.m_queries.Add(value); } } }
// Token: 0x06000065 RID: 101 RVA: 0x00003AA4 File Offset: 0x00002AA4 public override void GetObjectData(SerializationInfo info, StreamingContext context) { base.GetObjectData(info, context); DXConnectionQuery[] array = null; if (this.m_connectionQueries.Count > 0) { array = new DXConnectionQuery[this.m_connectionQueries.Count]; for (int i = 0; i < array.Length; i++) { array[i] = this.m_connectionQueries[i]; } } info.AddValue("Queries", array); }
// Token: 0x17000022 RID: 34 public DXConnectionQuery this[string name] { get { foreach (object obj in this.m_queries) { DXConnectionQuery dxconnectionQuery = (DXConnectionQuery)obj; if (dxconnectionQuery.Name == name) { return dxconnectionQuery; } } return null; } }
/// <summary> /// Serializes a server into a stream. /// </summary> public override void GetObjectData(SerializationInfo info, StreamingContext context) { base.GetObjectData(info, context); DXConnectionQuery[] queries = null; if (m_connectionQueries.Count > 0) { queries = new DXConnectionQuery[m_connectionQueries.Count]; for (int ii = 0; ii < queries.Length; ii++) { queries[ii] = m_connectionQueries[ii]; } } info.AddValue(Names.QUERIES, queries); }
// Token: 0x06000130 RID: 304 RVA: 0x00005A70 File Offset: 0x00004A70 public int Add(DXConnectionQuery value) { return this.Add(value); }
// Token: 0x0600012F RID: 303 RVA: 0x00005A67 File Offset: 0x00004A67 public int IndexOf(DXConnectionQuery value) { return this.IndexOf(value); }
// Token: 0x0600012E RID: 302 RVA: 0x00005A5E File Offset: 0x00004A5E public bool Contains(DXConnectionQuery value) { return this.Contains(value); }
// Token: 0x0600012D RID: 301 RVA: 0x00005A55 File Offset: 0x00004A55 public void Remove(DXConnectionQuery value) { this.Remove(value); }
// Token: 0x0600012C RID: 300 RVA: 0x00005A4B File Offset: 0x00004A4B public void Insert(int index, DXConnectionQuery value) { this.Insert(index, value); }
/// <summary> /// Adds an item to the IList. /// </summary> /// <param name="value">The Object to add to the IList. </param> /// <returns>The position into which the new element was inserted.</returns> public int Add(DXConnectionQuery value) { return(Add((object)value)); }
/// <summary> /// Determines the index of a specific item in the IList. /// </summary> /// <param name="value">The Object to locate in the IList.</param> /// <returns>The index of value if found in the list; otherwise, -1.</returns> public int IndexOf(DXConnectionQuery value) { return(IndexOf((object)value)); }
/// <summary> /// Determines whether the IList contains a specific value. /// </summary> /// <param name="value">The Object to locate in the IList.</param> /// <returns>true if the Object is found in the IList; otherwise, false.</returns> public bool Contains(DXConnectionQuery value) { return(Contains((object)value)); }
/// <summary> /// Removes the first occurrence of a specific object from the IList. /// </summary> /// <param name="value">The Object to remove from the IList.</param> public void Remove(DXConnectionQuery value) { Remove((object)value); }
/// <summary> /// Inserts an item to the IList at the specified position. /// </summary> /// <param name="index">The zero-based index at which value should be inserted.</param> /// <param name="value">The Object to insert into the IList. </param> public void Insert(int index, DXConnectionQuery value) { Insert(index, (object)value); }