public void SetUp() { explicitChain = BehaviorChain.For <IntegratedSettingsEndpoint>(x => x.get_int()); defaultChain = BehaviorChain.For <IntegratedSettingsEndpoint>(x => x.get_string()); ajaxChain = BehaviorChain.For <IntegratedSettingsEndpoint>(x => x.get_ajax()); theSettings = new FormSettings();; theSettings.ForChainsMatching(new LambdaChainFilter(x => x.ResourceType() == typeof(int)), FormMode.None); theRegistry = theSettings.BuildRegistry(); }
public void SetUp() { explicitChain = BehaviorChain.For<IntegratedSettingsEndpoint>(x => x.get_int()); defaultChain = BehaviorChain.For<IntegratedSettingsEndpoint>(x => x.get_string()); ajaxChain = BehaviorChain.For<IntegratedSettingsEndpoint>(x => x.get_ajax()); theSettings = new FormSettings();; theSettings.ForChainsMatching(new LambdaChainFilter(x => x.ResourceType() == typeof(int)), FormMode.None); theRegistry = theSettings.BuildRegistry(); }