public static ExampleSetPrint ( string message, |
||
message | string | Description of the example set |
clazz | Type reference of the example module | |
return | void |
/// <summary> /// Access method that will be executed by <c>ProgrammingExamples</c> and runs all the example method of the set. /// </summary> public static void RunExamples() { ExampleHelper.ExampleSetPrint("Tag Examples", typeof(TagExamples)); //TagReadAndWrite(); CompleteTagReadAndWrite(); //CompleteToLightTag(); }
/// <summary> /// Access method that will be executed by <c>ProgrammingExamples</c> and runs all the example method of the set. /// </summary> public static void RunExamples() { ExampleHelper.ExampleSetPrint("Repository Examples", typeof(RepositoryExamples)); LoadRavenExample(); StoreTrackInDb(); LoadTrackFromDb(); InsertCountLoadAllDeleteAndLoadAgain(); _trackRep.Dispose(); }
/// <summary> /// Access method that will be executed by <c>ProgrammingExamples</c> and runs all the example method of the set. /// </summary> public static void RunExamples() { ExampleHelper.ExampleSetPrint("Kademlia Repository Examples", typeof(KademliaRepositoryExamples)); RepositoryConfiguration conf = new RepositoryConfiguration(new { data_dir = @"..\..\Resource\Database" }); _repository = new KademliaRepository("Raven", conf); CleanTagExample(); StoreExample(); PutExample(); GetAllExample(); MiscGetAndContainsExample(); SearchExample(); RefreshExample(); ExpireExample(); //DeleteExample(); }