System.FieldReflectionLibrary.GetFieldsWithAttribute C# (CSharp) Méthode

GetFieldsWithAttribute() public static méthode

public static GetFieldsWithAttribute ( object o ) : IEnumerable
o object
Résultat 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