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)); }
private static object GetValueForKey(SectionIdentity sectionIdentity) { var concreteConfiguration = new ConcreteConfiguration(sectionIdentity.Section); return(concreteConfiguration.ClientValue(sectionIdentity.Type)); }
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); }