Ejemplo n.º 1
0
        public override void Load()
        {
            IReadOnlyList <KeyValuePair <string, string> > list = _configuration
                                                                  .AsEnumerable()
                                                                  .Where(x => x.Value != null)
                                                                  .ToArray();

            foreach (KeyValuePair <string, string> item in list)
            {
                if (!_propertyResolver.HasProperty(item.Value))
                {
                    continue;
                }

                Data[item.Key] = _propertyResolver.Resolve(item.Value);
            }
        }
Ejemplo n.º 2
0
 public bool HasProperty(string property)
 {
     return(PropertyResolver.HasProperty(property));
 }
Ejemplo n.º 3
0
 public bool HasProperty(string property)
 {
     return(resolver.HasProperty(property) || fallback.HasProperty(property));
 }