public NamedImage Add(string name, Image image) { NamedImage namedImage = new NamedImage(name, image); if (this.UniqueName(name)) { namedImage.Name = name; this.array.Add(namedImage); return(namedImage); } throw new ArgumentException(SR.ExceptionNamedImageAddedIsNotUnique(name)); }
public void Insert(int index, NamedImage value) { this.Insert(index, (object)value); }
public void Remove(NamedImage value) { this.array.Remove(value); }
public int IndexOf(NamedImage value) { return(this.array.IndexOf(value)); }
public bool Contains(NamedImage value) { return(this.array.Contains(value)); }
public int Add(NamedImage value) { return(this.array.Add(value)); }