コード例 #1
0
ファイル: YEvents.cs プロジェクト: aragoubi/Nine
        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;
        }
コード例 #2
0
ファイル: YEvents.cs プロジェクト: aragoubi/Project
        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;
        }
コード例 #3
0
ファイル: NineManagement.cs プロジェクト: aragoubi/Nine
 public NineManagement()
 {
     var yevents = new YEvents(this);
     yevents.Register();
 }