C# Класс RDFSharp.Model.RDFCollection

RDFCollection represents a generic collection in the RDF model. It is made up of items, which must be all resources or all literals.
Наследование: IEnumerable
Показать файл Открыть проект Примеры использования класса

Private Properties

Свойство Тип Описание
IEnumerable IEnumerator

Открытые методы

Метод Описание
AddItem ( Object item ) : RDFCollection

Adds the given item to the collection, avoiding duplicate insertions

ClearItems ( ) : void

Removes all the items from the collection

RDFCollection ( RDFModelEnums itemType ) : System

Default ctor to build an empty collection of the given type

ReifyCollection ( ) : RDFGraph

Builds the reification graph of the collection

RemoveItem ( Object item ) : RDFCollection

Removes the given item from the collection

Приватные методы

Метод Описание
IEnumerable ( ) : IEnumerator

Exposes an untyped enumerator on the collection's items

Описание методов

AddItem() публичный Метод

Adds the given item to the collection, avoiding duplicate insertions
public AddItem ( Object item ) : RDFCollection
item Object
Результат RDFCollection

ClearItems() публичный Метод

Removes all the items from the collection
public ClearItems ( ) : void
Результат void

RDFCollection() публичный Метод

Default ctor to build an empty collection of the given type
public RDFCollection ( RDFModelEnums itemType ) : System
itemType RDFModelEnums
Результат System

ReifyCollection() публичный Метод

Builds the reification graph of the collection
public ReifyCollection ( ) : RDFGraph
Результат RDFGraph

RemoveItem() публичный Метод

Removes the given item from the collection
public RemoveItem ( Object item ) : RDFCollection
item Object
Результат RDFCollection