/// <summary> /// Adds new item to <see cref="COTypes"/> list. /// <param name="typeName">Type described by the newly added <see cref="TypeSpecification"/></param> /// <param name="assemblyName">Assembly containing the described type</param> /// </summary> public void AddClassificationObject(string typeName, string assemblyName) { if (COTypes == null) { COTypes = new List <TypeSpecification>(); } COTypes.Add(TypeSpecification.CreateSpecification(typeName, assemblyName)); }
/// <summary> /// Adds new item to <see cref="COTypes"/> list. ClassificationObject types to be used by engine to talk to specific types of data sources. /// <param name="coTypeSpecification">New data source provider specification</param> /// </summary> public void AddClassificationObject(TypeSpecification coTypeSpecification) { if (COTypes == null) { COTypes = new List <TypeSpecification>(); } COTypes.Add(coTypeSpecification); }