public void ReplaceConfiguration(BehaviorChainTemplateKey templateKey) { _configuration.ViewModelConfiguration = BehaviorChainConfiguration.GetConfiguration( templateKey, BehaviorFactoryConfigurations.ForViewModel <TVM>() ); }
public IVMPropertyDescriptor <TValue> CustomProperty <TValue>( BehaviorChainTemplateKey templateKey, IBehaviorFactoryConfiguration factoryConfiguration, Action <BehaviorChainConfiguration> chainConfigurationAction ) { var config = BehaviorChainConfiguration.GetConfiguration(templateKey, factoryConfiguration); chainConfigurationAction(config); return(CustomProperty <TValue>(config)); }