コード例 #1
0
 public UmlRelation(
     UmlClass startClass,
     UmlClass endClass,
     string name = null,
     string startMultiplicity = "1",
     string endMultiplicity   = "1"
     ) : base(startClass, endClass)
 {
     Label = name;
     StartClass.AddRelation(this);
     EndClass.AddRelation(this);
     StartMultiplicity = startMultiplicity;
     EndMultiplicity   = endMultiplicity;
 }
コード例 #2
0
        static void Main(string[] args)
        {
            //TimerTaskService timer = TimerTaskService.CreateTimerTaskService(new TimerInfo { TimerType = TimerType.LoopStop, Hour=1, Second = 10 },()=> {
            //    Task.Delay(1000).Wait();
            //    Console.WriteLine(DateTime.Now.ToString());
            //});
            //timer.Start();

            StartClass.Start();
            while (true)
            {
                Console.ReadLine();
            }
        }
コード例 #3
0
 public void Start()
 {
     _sc = new StartClass();
     this.OpenWindow();
     _chat.Connect();
 }