public void Initialize()
 {
     var connector = new V1Central(Enviornment.instance.GetVersionOneConfiguration());
     connector.Validate();
     services = connector.Services;
     metaModel = connector.MetaModel;
     queryBuilder.Setup(services, metaModel, connector.Loc);
 }
        public void Initialize(XmlElement config, IEventManager eventManager, IProfile profile) {
            EventManager = eventManager;
            Logger = new Logger(eventManager);
            var c = new V1Central(config["Settings"]);
            c.Validate();
            v1Server = c;

            LoadProjectMap(config["TestPublishProjectMap"], config["BaseQueryFilter"]);

            EventManager.Subscribe(typeof(IntervalSync), OnInterval);
        }
        private void Connect()
        {
            var connector = new V1Central(configuration);
            connector.Validate();
            services = connector.Services;
            metaModel = connector.MetaModel;

            queryBuilder.Setup(services, metaModel, connector.Loc);
        }