public TemplateProviderViewModel(IAllowTemplates <T2> vm, bool replacenameonapply = true) { _SourceVM = vm; _replaceNameOnApply = replacenameonapply; this.Update(); Messenger.Default.Register(this, new Action <TemplatesChangedMessage>(OnTemplatesChanged)); }
public TemplateProviderViewModel(IAllowTemplates <T2> vm) { _SourceVM = vm; this.Update(); Messenger.Default.Register(this, new Action <TemplatesChangedMessage>(OnTemplatesChanged)); }