using System; using System.Collections; using System.Runtime.InteropServices; namespace System.ComponentModel.Design { /// Represents a collection of objects. // Token: 0x02000045 RID: 69 [ComVisible(true)] public class DesignerVerbCollection : CollectionBase { /// Initializes a new instance of the class. // Token: 0x060002C5 RID: 709 RVA: 0x000098B8 File Offset: 0x00007AB8 public DesignerVerbCollection() { } /// Initializes a new instance of the class using the specified array of objects. /// A array that indicates the verbs to contain within the collection. /// /// is null. // Token: 0x060002C6 RID: 710 RVA: 0x000098C0 File Offset: 0x00007AC0 public DesignerVerbCollection(DesignerVerb[] value) { base.InnerList.AddRange(value); } /// Gets or sets the at the specified index. /// A at each valid index in the collection. /// The index at which to get or set the . // Token: 0x170000CF RID: 207 public DesignerVerb this[int index] { get { return (DesignerVerb)base.InnerList[index]; } set { base.InnerList[index] = value; } } /// Adds the specified to the collection. /// The index in the collection at which the verb was added. /// The to add to the collection. // Token: 0x060002C9 RID: 713 RVA: 0x000098F8 File Offset: 0x00007AF8 public int Add(DesignerVerb value) { return base.InnerList.Add(value); } /// Adds the specified set of designer verbs to the collection. /// An array of objects to add to the collection. /// /// is null. // Token: 0x060002CA RID: 714 RVA: 0x00009908 File Offset: 0x00007B08 public void AddRange(DesignerVerb[] value) { base.InnerList.AddRange(value); } /// Adds the specified collection of designer verbs to the collection. /// A to add to the collection. /// /// is null. // Token: 0x060002CB RID: 715 RVA: 0x00009918 File Offset: 0x00007B18 public void AddRange(DesignerVerbCollection value) { base.InnerList.AddRange(value); } /// Gets a value indicating whether the specified exists in the collection. /// true if the specified object exists in the collection; otherwise, false. /// The to search for in the collection. // Token: 0x060002CC RID: 716 RVA: 0x00009928 File Offset: 0x00007B28 public bool Contains(DesignerVerb value) { return base.InnerList.Contains(value); } /// Copies the collection members to the specified array beginning at the specified destination index. /// The array to copy collection members to. /// The destination index to begin copying to. // Token: 0x060002CD RID: 717 RVA: 0x00009938 File Offset: 0x00007B38 public void CopyTo(DesignerVerb[] array, int index) { base.InnerList.CopyTo(array, index); } /// Gets the index of the specified . /// The index of the specified object if it is found in the list; otherwise, -1. /// The whose index to get in the collection. // Token: 0x060002CE RID: 718 RVA: 0x00009948 File Offset: 0x00007B48 public int IndexOf(DesignerVerb value) { return base.InnerList.IndexOf(value); } /// Inserts the specified at the specified index. /// The index in the collection at which to insert the verb. /// The to insert in the collection. // Token: 0x060002CF RID: 719 RVA: 0x00009958 File Offset: 0x00007B58 public void Insert(int index, DesignerVerb value) { base.InnerList.Insert(index, value); } /// Raises the Clear event. // Token: 0x060002D0 RID: 720 RVA: 0x00009968 File Offset: 0x00007B68 protected override void OnClear() { } /// Raises the Insert event. /// The index at which to insert an item. /// The object to insert. // Token: 0x060002D1 RID: 721 RVA: 0x0000996C File Offset: 0x00007B6C protected override void OnInsert(int index, object value) { } /// Raises the Remove event. /// The index at which to remove the item. /// The object to remove. // Token: 0x060002D2 RID: 722 RVA: 0x00009970 File Offset: 0x00007B70 protected override void OnRemove(int index, object value) { } /// Raises the Set event. /// The index at which to set the item. /// The old object. /// The new object. // Token: 0x060002D3 RID: 723 RVA: 0x00009974 File Offset: 0x00007B74 protected override void OnSet(int index, object oldValue, object newValue) { } /// Raises the Validate event. /// The object to validate. // Token: 0x060002D4 RID: 724 RVA: 0x00009978 File Offset: 0x00007B78 protected override void OnValidate(object value) { } /// Removes the specified from the collection. /// The to remove from the collection. // Token: 0x060002D5 RID: 725 RVA: 0x0000997C File Offset: 0x00007B7C public void Remove(DesignerVerb value) { base.InnerList.Remove(value); } } }