Exemple #1
0
        private void InitializeBaseTypes(DictionaryAdapterMeta meta)
        {
            foreach (var type in meta.Type.GetInterfaces())
            {
                var ns     = type.Namespace;
                var ignore =
                    ns == "Castle.Components.DictionaryAdapter" || ns == "System.ComponentModel";
                if (ignore)
                {
                    continue;
                }

                var baseMeta = meta.GetAdapterMeta(type);
                AddSecondaryXmlMeta(baseMeta);
            }
        }
Exemple #2
0
 private XmlMetadata GetXmlMetadata(Type clrType)
 {
     return(source
            .GetAdapterMeta(clrType)
            .GetXmlMeta());
 }