コード例 #1
0
ファイル: Setup.cs プロジェクト: whesius/allors
        public Setup(ISession session, DirectoryInfo dataPath)
        {
            this.session = session;
            this.DataPath = dataPath;

            this.objectsByObjectType = new Dictionary<IObjectType, IObjects>();
            foreach (ObjectType objectType in session.Database.MetaPopulation.Composites)
            {
                this.objectsByObjectType[objectType] = objectType.GetObjects(session);
            }

            this.objectsGraph = new ObjectsGraph();
        }
コード例 #2
0
        public Setup(ISession session, DirectoryInfo dataPath)
        {
            this.session  = session;
            this.DataPath = dataPath;

            this.objectsByObjectType = new Dictionary <IObjectType, IObjects>();
            foreach (ObjectType objectType in session.Database.MetaPopulation.Composites)
            {
                this.objectsByObjectType[objectType] = objectType.GetObjects(session);
            }

            this.objectsGraph = new ObjectsGraph();
        }
コード例 #3
0
ファイル: Setup.cs プロジェクト: Zonsoft-be/ExcelShowcase
        public Setup(ISession session, Config config)
        {
            this.Config  = config;
            this.session = session;

            this.objectsByObjectType = new Dictionary <IObjectType, IObjects>();
            foreach (var objectType in session.Database.MetaPopulation.Composites)
            {
                this.objectsByObjectType[objectType] = objectType.GetObjects(session);
            }

            this.objectsGraph = new ObjectsGraph();
        }