Beispiel #1
0
 public bool Equals(SectionIdentity other)
 {
     if (ReferenceEquals(null, other))
     {
         return(false);
     }
     if (ReferenceEquals(this, other))
     {
         return(true);
     }
     return(Equals(other._name, _name) && Equals(other.Type, Type));
 }
Beispiel #2
0
        private static object GetValueForKey(SectionIdentity sectionIdentity)
        {
            var concreteConfiguration = new ConcreteConfiguration(sectionIdentity.Section);

            return(concreteConfiguration.ClientValue(sectionIdentity.Type));
        }