Stride

OPEN / CLOSE
  • Features
  • Blog
  • Documentation
  • Community
(icon) Download

  • Discord
  • Facebook
  • Twitter
  • YouTube

LANGUAGE

OPEN / CLOSE
  • English
  • 日本語
    Show / Hide Table of Contents

    CustomAttributeExtensions Class

    Namespace: Stride.Core.Reflection
    Assembly: Stride.Core.dll
    System.Object → CustomAttributeExtensions
    Derived from CustomAttributeExtensions:

    public static class CustomAttributeExtensions
    Name Description
    Methods
    GetCustomAttributeEx(Assembly, Type)
    GetCustomAttributeEx<T>(Assembly)
    GetCustomAttributesEx(Assembly, Type)
    GetCustomAttributesEx<T>(Assembly)
    | Improve this Doc View Source

    Methods


    GetCustomAttributeEx(Assembly, Type)

    public static Attribute GetCustomAttributeEx(this Assembly assembly, Type attributeType)
    Parameters
    Type Name Description
    System.Reflection.Assembly assembly
    System.Type attributeType
    Returns
    Type Description
    System.Attribute

    GetCustomAttributeEx<T>(Assembly)

    public static T GetCustomAttributeEx<T>(this Assembly assembly)
        where T : Attribute
    Parameters
    Type Name Description
    System.Reflection.Assembly assembly
    Returns
    Type Description
    T
    Type Parameters
    Name Description
    T

    GetCustomAttributesEx(Assembly, Type)

    public static IEnumerable<Attribute> GetCustomAttributesEx(this Assembly assembly, Type attributeType)
    Parameters
    Type Name Description
    System.Reflection.Assembly assembly
    System.Type attributeType
    Returns
    Type Description
    System.Collections.Generic.IEnumerable<System.Attribute>

    GetCustomAttributesEx<T>(Assembly)

    public static IEnumerable<T> GetCustomAttributesEx<T>(this Assembly assembly)
        where T : Attribute
    Parameters
    Type Name Description
    System.Reflection.Assembly assembly
    Returns
    Type Description
    System.Collections.Generic.IEnumerable<T>
    Type Parameters
    Name Description
    T

    • Improve this Doc
    • View Source
    In This Article

    Back to top

    Copyright © 2019-2021 .NET Foundation and Contributors
    Supported by the .NET Foundation