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

            chainConfigurationAction(config);
            return(CustomProperty <TValue>(config));
        }