Esempio n. 1
0
        private BindingContext prefixWith(string prefix, IEnumerable <PropertyInfo> properties)
        {
            var prefixedData = new PrefixedRequestData(_requestData, prefix);
            var child        = new BindingContext(prefixedData, _locator);

            properties.Each(p => child._propertyStack.Push(p));
            return(child);
        }
 public void SetUp()
 {
     inner = new InMemoryRequestData();
     prefixed = new PrefixedRequestData(inner, "Site");
 }