Example #1
0
        /// <summary>
        /// Removes the first occurrence of the given PluginWrapper.
        /// </summary>
        /// <param name="plugin">PluginWrapper object to remove.</param>

        public void Remove(PluginWrapper plugin)
        {
            __List.Remove(plugin);
        }
Example #2
0
        /// <summary>
        /// Determines whether a PluginWrapper exists in the collection.
        /// </summary>
        /// <param name="plugin">The PluginWrapper to locate in the collection.</param>
        /// <returns></returns>

        public bool Contains(PluginWrapper plugin)
        {
            return(__List.Contains(plugin));
        }
Example #3
0
        /// <summary>
        /// Adds a PluginWrapper to the end of the collection.
        /// </summary>
        /// <param name="plugin">The PluginWrapper to add to the end of the collection.</param>
        /// <returns>Position that the PluginWrapper was inserted.</returns>

        public int Add(PluginWrapper plugin)
        {
            return(__List.Add(plugin));
        }
Example #4
0
        /// <summary>
        /// Inserts a PluginWrapper at the given index.
        /// </summary>
        /// <param name="index">The zero-based index at which value should be inserted.</param>
        /// <param name="plugin">The PluginWrapper to insert.</param>

        public void Insert(int index, PluginWrapper plugin)
        {
            __List.Insert(index, plugin);
        }