public SourcesHandler(string gconf_key, Type container_type, EvolutionDataServerQueryable queryable, string fingerprint, params object[] ctor_args) { this.container_type = container_type; this.queryable = queryable; this.fingerprint = fingerprint; this.ctor_args = ctor_args; // This is the first code to hit e-d-s, so we might // get a DllNotFoundException exception if things // aren't configured correctly. However, since // we're instantiating an object, it might be // wrapped in a TypeInitializationException, so // catch that and rethrow the inner exception. try { this.source_list = new SourceList(gconf_key); } catch (TypeInitializationException ex) { throw ex.InnerException; } if (this.source_list == null) { // FIXME: We may want to watch for the creation // of the sources GConf key Logger.Log.Info("No sources found at {0}", gconf_key); return; } this.source_list.GroupAdded += OnGroupAdded; this.source_list.GroupRemoved += OnGroupRemoved; foreach (SourceGroup group in this.source_list.Groups) { IndexSourceGroup(group, false); } }
public SourcesHandler (string gconf_key, Type container_type, EvolutionDataServerQueryable queryable, string fingerprint, params object[] ctor_args) { this.container_type = container_type; this.queryable = queryable; this.fingerprint = fingerprint; this.ctor_args = ctor_args; // This is the first code to hit e-d-s, so we might // get a DllNotFoundException exception if things // aren't configured correctly. However, since // we're instantiating an object, it might be // wrapped in a TypeInitializationException, so // catch that and rethrow the inner exception. try { this.source_list = new SourceList (gconf_key); } catch (TypeInitializationException ex) { throw ex.InnerException; } if (this.source_list == null) { // FIXME: We may want to watch for the creation // of the sources GConf key Logger.Log.Info ("No sources found at {0}", gconf_key); return; } this.source_list.GroupAdded += OnGroupAdded; this.source_list.GroupRemoved += OnGroupRemoved; foreach (SourceGroup group in this.source_list.Groups) IndexSourceGroup (group, false); }
public CalContainer (Evolution.Source source, EvolutionDataServerQueryable queryable, string fingerprint, CalSourceType cal_source_type) : base (source, queryable, fingerprint) { this.cal_source_type = cal_source_type; }
public BookContainer(Evolution.Source source, EvolutionDataServerQueryable queryable, string fingerprint) : base(source, queryable, fingerprint) { }
public BookContainer (Evolution.Source source, EvolutionDataServerQueryable queryable, string fingerprint) : base (source, queryable, fingerprint) { }
public Container(Evolution.Source source, EvolutionDataServerQueryable queryable, string fingerprint) { this.source = source; this.queryable = queryable; this.fingerprint = fingerprint; }
public CalContainer(Evolution.Source source, EvolutionDataServerQueryable queryable, string fingerprint, CalSourceType cal_source_type) : base(source, queryable, fingerprint) { this.cal_source_type = cal_source_type; }
public Container (Evolution.Source source, EvolutionDataServerQueryable queryable, string fingerprint) { this.source = source; this.queryable = queryable; this.fingerprint = fingerprint; }