IXDLSSerializableCollection module
- class IXDLSSerializableCollection.IXDLSSerializableCollection
Bases:
IEnumerableThis class represents a collection that can be serialized/deserialized.
Attributes: - TagItemName: The name of the tag for each item in the collection. - Count: The number of items in the collection.
- abstract AddItem(item: IDocumentSerializable)
Adds an item to the collection.
Args: - item: The item to be added.
- abstract AddNewItem(reader: IXDLSContentReader) IDocumentSerializable
Adds a new item to the collection based on the provided reader.
Args: - reader: The reader used to deserialize the item.
Returns: - The deserialized item.
- abstract property Count: int
Gets the number of items in the collection.
Returns: - The count of items.
- abstract CreateNewItem(reader: IXDLSContentReader) IDocumentSerializable
Creates a new item for the collection based on the provided reader.
Args: - reader: The reader used to deserialize the item.
Returns: - The created item.
- abstract property TagItemName: str
Gets the name of the tag for each item in the collection.
Returns: - The tag item name.
