Exemple #1
0
        public ExportCatalog(DefaultMetadataProvider defaultMetadataProvider)
        {
            MetadataProviders.Add(defaultMetadataProvider);
            DefaultMetadataProvider = defaultMetadataProvider;

            Types.TryAdd(defaultMetadataProvider.GetType(), new List <ITypeInfo>());
        }
Exemple #2
0
 public void RegisterMetadataProvider(IMetadataProvider provider)
 {
     if (!Types.ContainsKey(provider.GetType()))
     {
         MetadataProviders.Add(provider);
         Types.TryAdd(provider.GetType(), new List <ITypeInfo>());
     }
 }
Exemple #3
0
 public XamlApp()
 {
     MetadataProviders.Add(new ControlPlaygroundUwpLib.ControlPlaygroundUwpLib_XamlTypeInfo.XamlMetaDataProvider());
 }