view Test/Example/HelloWorld/FinishHelloWorld.cs @ 35:9e31b8c7a5bd

fix localDGM.finish()
author riono <e165729@ie.u-ryukyu.ac.jp>
date Tue, 04 May 2021 22:17:11 +0900
parents 6399d784c6d1
children 3929e66a6645
line wrap: on
line source

using System;
using Christie_net.annotation;
using Christie_net.codegear;

namespace Christie_net.Test.Example.HelloWorld {
public class FinishHelloWorld : CodeGear {
    [Take] private string hello;
    [Take] private string world;

    public override void Run(CodeGearManager cgm) {
        Console.WriteLine("fin:" + hello + " " + world);
        cgm.GetLocalDGM().Finish();
    }
}
}