C# Класс Persistence.KademliaKeyword

Class used to represent a keyword inside Kademlia Network. A kademlia keyword has one or more tags associated.
Наследование: IDocumentType, ILoadable
Показать файл Открыть проект Примеры использования класса

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

Метод Описание
GetAsDatabaseType ( ) : dynamic

Returns the object itself because it's ready to be loaded in the repository (and implements IDocumentType!)

GetDatabaseType ( ) : Type

Returns the Type of the KadmeliaKeyword class.

KademliaKeyword ( ) : System

Default keyword constructor.

KademliaKeyword ( string key ) : System

Main keyword constructor. This just initializes the fields with the given values

LoadFromDatabaseType ( dynamic data ) : bool

Loads keyword information from a dynamic object loaded from repository

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

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

Returns the object itself because it's ready to be loaded in the repository (and implements IDocumentType!)
public GetAsDatabaseType ( ) : dynamic
Результат dynamic

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

Returns the Type of the KadmeliaKeyword class.
public GetDatabaseType ( ) : Type
Результат System.Type

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

Default keyword constructor.
public KademliaKeyword ( ) : System
Результат System

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

Main keyword constructor. This just initializes the fields with the given values
public KademliaKeyword ( string key ) : System
key string keyword itself used as identifier
Результат System

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

Loads keyword information from a dynamic object loaded from repository
public LoadFromDatabaseType ( dynamic data ) : bool
data dynamic Data Object loaded from repository
Результат bool