private void ProcessType(CatelType catelType)
{
foreach (var property in catelType.Properties)
{
var propertyDefinition = property.PropertyDefinition;
var exposeAttributes = propertyDefinition.GetAttributes("Catel.Fody.ExposeAttribute");
foreach (var exposeAttribute in exposeAttributes)
{
ProcessProperty(catelType, property, exposeAttribute);
}
propertyDefinition.RemoveAttribute("Catel.Fody.ExposeAttribute");
}
}