CustomAttributeExtensions Class
              
              
              Namespace: Stride.Core.Reflection
              Assembly: Stride.Core.dll
              
              
              
              
              
              
                 System.Object →  
                CustomAttributeExtensions
              
              
                 Derived from CustomAttributeExtensions: 
              
              
              
              
              
                public static class CustomAttributeExtensions
               
              
              
              
              
              
                  
              
                     
              
                
                  |
                  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 Parameters
              
              
              
              
              
              
              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