public TInterface Get <TInterface>() where TInterface : class
        {
            var sectionName = NamingConvention.Current.SectionNameByInterfaceOrClassType(typeof(TInterface));
            var section     = ConfigurationManager.GetSection(sectionName);

            if (section == null)
            {
                throw new ConfigurationErrorsException("There is no section named {0}".ToFormat(sectionName));
            }
            return((TInterface)_cachedConfigs.Get(new SectionIdentity(sectionName, typeof(TInterface),
                                                                      (ConfigurationSectionForInterface)section)));
        }
 public object ClientValue(PropertyInfo property)
 {
     return(_cachedValues.Get(property));
 }
 public object Value(PropertyInfo property)
 {
     return(_list.Get(0).GetEnumerator());
 }
 public object ClientValue(string propertyName)
 {
     return(_cachedValues.Get(propertyName));
 }
 public object Value(string propertyName)
 {
     return(_list.Get(0).GetEnumerator());
 }