-
Notifications
You must be signed in to change notification settings - Fork 36
T_CodeJam_Reflection_ReflectionExtensions
andrewvk edited this page Mar 23, 2016
·
13 revisions
[This is preliminary documentation and is subject to change.]
Reflection extension methods.
System.Object
CodeJam.Reflection.ReflectionExtensions
Namespace: CodeJam.Reflection
Assembly: CodeJam (in CodeJam.dll) Version: 1.0.0.0 (1.0.0.0)
C#
public static class ReflectionExtensions
VB
<ExtensionAttribute>
Public NotInheritable Class ReflectionExtensions
F#
[<AbstractClassAttribute>]
[<SealedAttribute>]
[<ExtensionAttribute>]
type ReflectionExtensions = class end
The ReflectionExtensions type exposes the following members.
Name | Description | |
---|---|---|
![]() ![]() |
GetAssemblyDirectory | Returns directory part of path to assembly asm file. |
![]() ![]() |
GetAssemblyPath | Returns path to assembly asm file. |
![]() ![]() |
GetCustomAttribute(T) | Returns custom attribute defined on this member, identified by type T, or null if there are no custom attribute of that type. |
![]() ![]() |
GetCustomAttributes(T) | Returns an array of custom attributes defined on this member, identified by type T, or empty array if there are no custom attribute of that type. |
![]() ![]() |
GetRequiredResourceStream | Loads the specified manifest resource from this assembly, and checks if it exists. |
![]() ![]() |
HasCustomAttribute(ICustomAttributeProvider, Type, Boolean) | Returns true if at least one attribute of type attrType specified in member exists. |
![]() ![]() |
HasCustomAttribute(ICustomAttributeProvider, Type, Func(Attribute, Boolean), Boolean) | Returns true if at least one attribute of type attrType specified in member corresponds to predicate. |
![]() ![]() |
HasCustomAttribute(T)(ICustomAttributeProvider, Boolean) | Returns true if at least one attribute of type T specified in member exists. |
![]() ![]() |
HasCustomAttribute(T)(ICustomAttributeProvider, Func(T, Boolean), Boolean) | Returns true if at least one attribute of type T specified in member corresponds to predicate. |