static void Main(string[] args) { using (var greeter = new HelloWorldExample("bolt://localhost:7687", "neo4j", "12345")) { greeter.PrintGreeting("hello, world"); } }
public static void Main() { using (var greeter = new HelloWorldExample("bolt://localhost:7687", "neo4j", "password")) { greeter.PrintGreeting("hello, world"); } }
public static void Main() { using (var greeter = new HelloWorldExample("bolt://localhost:7687", "neo4j", "Mudar123")) { greeter.PrintGreeting("hello, world from DevWeek"); greeter.DeleteDatabase(); } }
[STAThread] // Forces app to use one thread to access NUI static void Main(string[] args) { // Do not remove this print out - helps with the TizenFX stub sync issue Console.WriteLine("Running Example..."); HelloWorldExample example = new HelloWorldExample(); example.Run(args); }
public void TestHelloWorldExample() { // Given using (var example = new HelloWorldExample(Uri, User, Password)) { // When & Then example.PrintGreeting("Hello, world"); } }
public async Task TestHelloWorldExample() { // Given using (var example = new HelloWorldExample(Uri, User, Password)) { // When & Then await example.PrintGreetingAsync("Hello, world"); } }
static void Main(string[] args) { HelloWorldExample.Run(); // ClientDistributionExample.Run(); // CustomStepExecControlExample.Run(); // DataFeedTest.Run(); // CustomReportingExample.Run(); // CustomSettingsExample.Run(); }
static void Main(string[] args) { //DataFeed.DataFeedTest.Run(); HelloWorldExample.Run(); //HelloWorld.CustomSettingsExample.Run(); //HttpTests.SimpleHttpTest.Run(); //HttpTests.AdvancedHttpTest.Run(); //HttpTests.AdvancedHttpWithConfig.Run(); //HttpTests.TracingHttp.Run(); //Logging.ElasticSearchLogging.Run(); //MongoDb.MongoDbTest.Run(); //RealtimeReporting.InfluxDbReporting.Run(); }
[STAThread] // Forces app to use one thread to access NUI static void Main(string[] args) { HelloWorldExample example = new HelloWorldExample(); example.Run(args); }
public static async Task Main() { using var greeting = new HelloWorldExample("bolt://localhost:7687", "neo4j", "password"); await greeting.CreateNode("hello word"); }
static void Main(string[] args) { HelloWorldExample.Run(); }