private static PropertyInfo GetProperty(SettingsModel model) { return Types.SelectMany(t => t.GetProperties(BindingFlags.Static | BindingFlags.Public)) .SingleOrDefault(x => x.Name.Equals(model.Name, StringComparison.OrdinalIgnoreCase)); }
private static PropertyInfo GetProperty(SettingsModel model) { return(Types.SelectMany(t => t.GetProperties(BindingFlags.Static | BindingFlags.Public)) .SingleOrDefault(x => x.Name.Equals(model.Name, StringComparison.OrdinalIgnoreCase))); }