Class FileCollection
A dictionary-based collection of Files.
Implements
Inherited Members
Namespace: Sdl.Core.Bcm.BcmModel.Collections
Assembly: Sdl.Core.Bcm.BcmModel.dll
Syntax
public class FileCollection : 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(Int32, File)
Inserts an element into the System.Collections.ObjectModel.KeyedCollection`2 at the specified index.
Declaration
protected override void InsertItem(int index, File item)
Parameters
Type | Name | Description |
---|---|---|
System.Int32 | index | The zero-based index at which |
File | item | The object to insert. |
SetItem(Int32, 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 |
---|---|---|
System.Int32 | index | The zero-based index of the item to be replaced. |
File | item | The new item. |
Implements
System.IEquatable<>