Example #1
0
 public ViewModelMappingService(
     IResourceDictionaryFactory resourceDictionaryFactory,
     IDataTemplateFactory dataTemplateFactory,
     IViewViewModelMapFactory viewViewModelMapFactory)
 {
     _resourceDictionaryFactory = resourceDictionaryFactory;
     _dataTemplateFactory       = dataTemplateFactory;
     _viewViewModelMapFactory   = viewViewModelMapFactory;
 }
 /// <summary>
 /// 构造一个 <see cref="ResourceDictionaryStringLocalizer{TResource}"/>。
 /// </summary>
 /// <param name="factory">给定的 <see cref="IResourceDictionaryFactory"/>。</param>
 public ResourceDictionaryStringLocalizer(IResourceDictionaryFactory factory)
     : base(factory)
 {
 }
 public MaterialDesignInitializationService(IResourceDictionaryFactory resourceDictionaryFactory)
 {
     _resourceDictionaryFactory = resourceDictionaryFactory;
 }