Exemple #1
0
 public void RegisterPackage(IPackageDescriptor descriptor)
 {
     foreach (var element in descriptor.GetElements())
     {
         elementsResolver.Register(element.Namespace, element.Name, element.ActualType);
     }
     foreach (var attributeConverter in descriptor.GetAttributeConverters())
     {
         attributeConvertersResolver.Register(attributeConverter.Type, attributeConverter.Converter);
     }
 }