Catel.Fody.Weaving.ExposedProperties.ExposedPropertiesWeaver.ProcessType C# (CSharp) 메소드

ProcessType() 개인적인 메소드

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