System.FieldReflectionLibrary.GetFieldsWithAttribute C# (CSharp) Метод

GetFieldsWithAttribute() публичный статический Метод

public static GetFieldsWithAttribute ( Type type ) : IEnumerable
type Type
Результат IEnumerable
        public static IEnumerable<FieldInfo> GetFieldsWithAttribute<T>(this Type type)
            where T : Attribute =>
            type
                .GetFieldsWithAttribute<T>(ReflectionLibrary.STATIC_MEMBER_BINDING_FLAGS);

Same methods

FieldReflectionLibrary::GetFieldsWithAttribute ( IReflect t, BindingFlags flags ) : IEnumerable
FieldReflectionLibrary::GetFieldsWithAttribute ( object o ) : IEnumerable