C# Класс Examples.KademliaRepositoryExamples

Example Module for kademlia-specific repository.
Показать файл Открыть проект Примеры использования класса

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

Метод Описание
CleanTagExample ( ) : void

This example shows how the repository discard semanticless words.

DeleteExample ( ) : void

This example uses the DeleteTag method to delete a tag from the repository

RefreshExample ( ) : void

This example shows how to refreash a resource inside the repository.

RunExamples ( ) : void

Access method that will be executed by ProgrammingExamples and runs all the example method of the set.

SearchExample ( ) : void

This example show how to perform research inside the repository

StoreExample ( ) : void

This example uses the Store method to insert a new resource in the repository

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

Метод Описание
ExpireExample ( ) : void

This test the Expire method of the repository

GetAllExample ( ) : void

This example use the GetAll method to show all object contained in the repository

MiscGetAndContainsExample ( ) : void

This example run ContainsTag, ContainsUrl and GetPublicationTime methods of the repository

PutExample ( ) : void

This example shows how to use the Put operation to insert new Dht element into an existing Resource

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

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

This example shows how the repository discard semanticless words.
public static CleanTagExample ( ) : void
Результат void

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

This example uses the DeleteTag method to delete a tag from the repository
public static DeleteExample ( ) : void
Результат void

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

This example shows how to refreash a resource inside the repository.
public static RefreshExample ( ) : void
Результат void

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

Access method that will be executed by ProgrammingExamples and runs all the example method of the set.
public static RunExamples ( ) : void
Результат void

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

This example show how to perform research inside the repository
public static SearchExample ( ) : void
Результат void

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

This example uses the Store method to insert a new resource in the repository
public static StoreExample ( ) : void
Результат void