public YEvents(NineManagement nm) { if (nbInstances > 0) throw new Exception("YEvents can be instantiated more than once"); _instance = this; LIO = LinkIOImp.Instance; Data = Data.Instance; Catalog = Catalog.Instance; NM = nm; }
public YEvents(NineManagement nm) { if (nbInstances > 0) { throw new Exception("YEvents can be instantiated more than once"); } _instance = this; LIO = LinkIOImp.Instance; Data = Data.Instance; Catalog = Catalog.Instance; NM = nm; }
public NineManagement() { var yevents = new YEvents(this); yevents.Register(); }