public void ProcessRouteProperties() { foreach (PropertyInfo property in RouteType.GetProperties().Where(p => p.HasAttribute <ApiMemberAttribute>() || (p.CanRead && p.CanWrite))) { if (PropertiesProcessed.Contains(property.Name)) { continue; } ProcessClrProperty(property); } }