Catel.Fody.Weaving.ExposedProperties.ExposedPropertiesWeaver.ProcessType C# (CSharp) Method

ProcessType() private method

private ProcessType ( CatelType catelType ) : void
catelType CatelType
return void
        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");
            }
        }