Beamable SDK
Public Member Functions | Public Attributes | Properties | List of all members
Beamable.Common.Reflection.MemberAttribute Struct Reference

Utility struct that represents a pairing of a MemberInfo with an Attribute instance. This is used to keep the declared attribute and the MemberInfo over which it is declared together throughout our ReflectionCache-ing process. More...

Public Member Functions

 MemberAttribute (MemberInfo info, Attribute attribute)
 
InfoAs< T > ()
 
AttrAs< T > ()
 

Public Attributes

readonly MemberInfo Info
 
readonly Attribute Attribute
 

Properties

MemberTypes MemberType [get]
 

Detailed Description

Utility struct that represents a pairing of a MemberInfo with an Attribute instance. This is used to keep the declared attribute and the MemberInfo over which it is declared together throughout our ReflectionCache-ing process.

Member Function Documentation

◆ AttrAs< T >()

T Beamable.Common.Reflection.MemberAttribute.AttrAs< T > ( )
inline
Type Constraints
T :Attribute 
T :IReflectionAttribute 

◆ InfoAs< T >()

T Beamable.Common.Reflection.MemberAttribute.InfoAs< T > ( )
Type Constraints
T :MemberInfo 
T :T 
T :Info 

The documentation for this struct was generated from the following file: