/// <summary>
 /// Adds new item to <see cref="COAdapterTypes"/> 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 AddCOAdapter(string typeName, string assemblyName)
 {
     if (COAdapterTypes == null)
     {
         COAdapterTypes = new List <TypeSpecification>();
     }
     COAdapterTypes.Add(TypeSpecification.CreateSpecification(typeName, assemblyName));
 }
 /// <summary>
 /// Adds new item to <see cref="COAdapterTypes"/> list. Assembly name will be guessed from the type information contained in <paramref name="adapterType"/>.
 /// <param name="adapterType">Type described by the newly added <see cref="TypeSpecification"/></param>
 /// </summary>
 public void AddCOAdapter(Type adapterType)
 {
     if (COAdapterTypes == null)
     {
         COAdapterTypes = new List <TypeSpecification>();
     }
     COAdapterTypes.Add(TypeSpecification.CreateSpecification(adapterType.FullName, adapterType.Assembly.GetName().FullName));
 }
 /// <summary>
 /// Adds new item to <see cref="COAdapterTypes"/> list.
 /// <param name="adapter">New CO adapter specification</param>
 /// </summary>
 public void AddCOAdapter(TypeSpecification adapter)
 {
     if (COAdapterTypes == null)
     {
         COAdapterTypes = new List <TypeSpecification>();
     }
     COAdapterTypes.Add(adapter);
 }