BaseJump.Core.Metadata.ModelMetadataProvider.GetAttributes C# (CSharp) Метод

GetAttributes() приватный Метод

private GetAttributes ( ) : IEnumerable
Результат IEnumerable
        private IEnumerable<CustomAttributeData> GetAttributes()
        {
            var info = UnwrapNullable(metadata.PropertyType.GetTypeInfo());

            foreach (var attribute in info.CustomAttributes)
            {
                yield return attribute;
            }

            foreach (var attribute in propertyInfo.CustomAttributes)
            {
                yield return attribute;
            }
        }