System.FieldReflectionLibrary.GetFieldsWithAttribute C# (CSharp) Method

GetFieldsWithAttribute() public static method

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

Same methods

FieldReflectionLibrary::GetFieldsWithAttribute ( IReflect t, BindingFlags flags ) : IEnumerable
FieldReflectionLibrary::GetFieldsWithAttribute ( Type type ) : IEnumerable