コード例 #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
ファイル: HelloWorld.cs プロジェクト: nui-dali/nui-demo
    [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
ファイル: Program.cs プロジェクト: PragmaticFlow/NBomber
 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();
 }