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; }
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(); } }
public void Start() { _sc = new StartClass(); this.OpenWindow(); _chat.Connect(); }