C# Класс FluidDB.FluidTag

A FluidDB user, for example named Sara, can tag as many different objects as she likes with her tags, using whatever values she likes. For example, she might tag an object representing The Eiffel Tower, with a sara/opinion of beautiful and another object representing Quantum Electrodynamics, with the sara/opinion of hard.
Показать файл Открыть проект Примеры использования класса

Private Properties

Свойство Тип Описание
FluidTag System

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

Метод Описание
CreateTag ( FluidConnector c, FluidNamespace f_namespace, string name, string description, bool indexed ) : FluidTag

Creates the tag in the namespace

GetTag ( FluidConnector c, FluidNamespace f_namespace, string name, bool returnDescription ) : FluidTag

Returns an object reference to the tag with the specified name in the specified namespace

GetTagInformation ( ) : void

Loads the ID, description and index of the tag (gets the tags of the fluiddb/tag object)

GetValue ( FluidDBGUID objectID ) : string

Returns the value of the tag as a string

GetValue ( FluidDBGUID objectID, string contentType ) : string

Returns the tag value as a string, must use this method if value is stored with a custom content type

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

Метод Описание
FluidTag ( FluidConnector c, string name ) : System

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

CreateTag() публичный статический Метод

Creates the tag in the namespace
public static CreateTag ( FluidConnector c, FluidNamespace f_namespace, string name, string description, bool indexed ) : FluidTag
c FluidConnector
f_namespace FluidNamespace
name string
description string
indexed bool
Результат FluidTag

GetTag() публичный статический Метод

Returns an object reference to the tag with the specified name in the specified namespace
public static GetTag ( FluidConnector c, FluidNamespace f_namespace, string name, bool returnDescription ) : FluidTag
c FluidConnector
f_namespace FluidNamespace
name string
returnDescription bool
Результат FluidTag

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

Loads the ID, description and index of the tag (gets the tags of the fluiddb/tag object)
public GetTagInformation ( ) : void
Результат void

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

Returns the value of the tag as a string
public GetValue ( FluidDBGUID objectID ) : string
objectID FluidDBGUID
Результат string

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

Returns the tag value as a string, must use this method if value is stored with a custom content type
public GetValue ( FluidDBGUID objectID, string contentType ) : string
objectID FluidDBGUID
contentType string
Результат string