public ExportCatalog(DefaultMetadataProvider defaultMetadataProvider) { MetadataProviders.Add(defaultMetadataProvider); DefaultMetadataProvider = defaultMetadataProvider; Types.TryAdd(defaultMetadataProvider.GetType(), new List <ITypeInfo>()); }
public void RegisterMetadataProvider(IMetadataProvider provider) { if (!Types.ContainsKey(provider.GetType())) { MetadataProviders.Add(provider); Types.TryAdd(provider.GetType(), new List <ITypeInfo>()); } }
public XamlApp() { MetadataProviders.Add(new ControlPlaygroundUwpLib.ControlPlaygroundUwpLib_XamlTypeInfo.XamlMetaDataProvider()); }