System.PropertyReflectionLibrary.GetPropertiesWithAttribute C# (CSharp) Method

GetPropertiesWithAttribute() public static method

public static GetPropertiesWithAttribute ( object o ) : IEnumerable
o object
return IEnumerable
        public static IEnumerable<PropertyInfo> GetPropertiesWithAttribute<T>(this object o)
            where T : Attribute =>
            o
                .GetType()
                .GetPropertiesWithAttribute<T>(ReflectionLibrary.INSTANCE_MEMBER_BINDING_FLAGS);

Same methods

PropertyReflectionLibrary::GetPropertiesWithAttribute ( IReflect t, BindingFlags flags ) : IEnumerable
PropertyReflectionLibrary::GetPropertiesWithAttribute ( Type type ) : IEnumerable