public void AddRange(PluginCollection value) { for (int i = 0; (i < value.Count); i = (i + 1)) { this.Add((SSPlugin)value.List[i]); } }
public PluginCollection(PluginCollection value) { this.AddRange(value); }
/// <summary> /// Initializes a new instance of the <see cref="PluginCollectionEnumerator">PluginCollectionEnumerator</see> class referencing the specified <see cref="PluginCollection">PluginCollection</see> object. /// </summary> /// <param name="mappings">The <see cref="PluginCollection">PluginCollection</see> to enumerate.</param> public PluginCollectionEnumerator(PluginCollection mappings) { _temp = ((IEnumerable)(mappings)); _enumerator = _temp.GetEnumerator(); }