예제 #1
0
 static void Main(string[] args)
 {
     using (var greeter = new HelloWorldExample("bolt://localhost:7687", "neo4j", "12345"))
     {
         greeter.PrintGreeting("hello, world");
     }
 }
예제 #2
0
 public static void Main()
 {
     using (var greeter = new HelloWorldExample("bolt://localhost:7687", "neo4j", "password"))
     {
         greeter.PrintGreeting("hello, world");
     }
 }
예제 #3
0
 public static void Main()
 {
     using (var greeter = new HelloWorldExample("bolt://localhost:7687", "neo4j", "Mudar123"))
     {
         greeter.PrintGreeting("hello, world from DevWeek");
         greeter.DeleteDatabase();
     }
 }
예제 #4
0
    [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);
    }
예제 #5
0
 public void TestHelloWorldExample()
 {
     // Given
     using (var example = new HelloWorldExample(Uri, User, Password))
     {
         // When & Then
         example.PrintGreeting("Hello, world");
     }
 }
예제 #6
0
 public async Task TestHelloWorldExample()
 {
     // Given
     using (var example = new HelloWorldExample(Uri, User, Password))
     {
         // When & Then
         await example.PrintGreetingAsync("Hello, world");
     }
 }
예제 #7
0
 static void Main(string[] args)
 {
     HelloWorldExample.Run();
     // ClientDistributionExample.Run();
     // CustomStepExecControlExample.Run();
     // DataFeedTest.Run();
     // CustomReportingExample.Run();
     // CustomSettingsExample.Run();
 }
예제 #8
0
파일: Program.cs 프로젝트: timba/NBomber
        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();
        }
예제 #9
0
    [STAThread] // Forces app to use one thread to access NUI
    static void Main(string[] args)
    {
        HelloWorldExample example = new HelloWorldExample();

        example.Run(args);
    }
예제 #10
0
    public static async Task Main()
    {
        using var greeting = new HelloWorldExample("bolt://localhost:7687", "neo4j", "password");

        await greeting.CreateNode("hello word");
    }
예제 #11
0
 static void Main(string[] args)
 {
     HelloWorldExample.Run();
 }