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(); }
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(); }
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(); }