Beispiel #1
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();
        }
Beispiel #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();
        }
Beispiel #3
0
        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();
        }