Class FileCollection
A dictionary-based collection of Files.
Inheritance
FileCollection
Implements
Inherited Members
Namespace: Sdl.Core.Bcm.BcmModel.Collections
Assembly: Sdl.Core.Bcm.BcmModel.dll
Syntax
public class FileCollection : KeyBasedCollection<string, File>, IList<File>, ICollection<File>, IList, ICollection, IReadOnlyList<File>, IReadOnlyCollection<File>, IEnumerable<File>, IEnumerable, IEquatable<KeyBasedCollection<string, File>>
Constructors
FileCollection()
Initializes a new instance of the FileCollection class.
Declaration
public FileCollection()
Properties
IdGenerator
The identifier generator.
Declaration
public IdGenerator IdGenerator { get; set; }
Property Value
| Type | Description |
|---|---|
| IdGenerator |
Methods
InsertItem(int, File)
Inserts an element into the KeyedCollection<TKey, TItem> at the specified index.
Declaration
protected override void InsertItem(int index, File item)
Parameters
| Type | Name | Description |
|---|---|---|
| int | index | The zero-based index at which |
| File | item | The object to insert. |
Overrides
SetItem(int, File)
Replaces the item at the specified index with the specified item.
Declaration
protected override void SetItem(int index, File item)
Parameters
| Type | Name | Description |
|---|---|---|
| int | index | The zero-based index of the item to be replaced. |
| File | item | The new item. |