Beispiel #1
0
 public Server(ILogger <Server> logger)
 {
     this.logger  = logger;
     service      = lib.Provider.serviceProvider.GetRequiredService <Service.IServerService>();
     eventService = lib.Provider.serviceProvider.GetRequiredService <Service.EventService>();
     eventService.evtTreeListUpdate  += new Service.TreeListUpdateDelegate(TreeListUpdateHandler);
     eventService.evtTreeEditLock    += new Service.TreeEditLockDelegate(TreeEditLockHandler);
     eventService.evtTreeEditRelease += new Service.TreeEditReleaseDelegate(TreeEditReleaseHandler);
     eventService.evtTreeEditFinish  += new Service.TreeEditFinishDelegate(TreeEditFinishHandler);
     eventService.evtNodeUpdate      += new Service.NodeUpdateDelegate(NodeUpdateHandler);
 }