Class MemberInfoExtensions
Inheritance
object
MemberInfoExtensions
Inherited Members
object.Equals(object)
object.Equals(object, object)
object.GetHashCode()
object.GetType()
object.MemberwiseClone()
object.ReferenceEquals(object, object)
object.ToString()
Namespace: Cassandra.Mapping.Utils
Assembly: Cassandra.dll
Syntax
public static class MemberInfoExtensions
Methods
GetFirstAttribute<TAttribute>(MemberInfo, bool)
Declaration
public static TAttribute GetFirstAttribute<TAttribute>(MemberInfo member, bool inherit) where TAttribute : Attribute
Parameters
| Type | Name | Description |
|---|---|---|
| MemberInfo | member | |
| bool | inherit |
Returns
| Type | Description |
|---|---|
| TAttribute |
Type Parameters
| Name | Description |
|---|---|
| TAttribute |
HasAttribute<TAttribute>(MemberInfo, bool)
Declaration
public static bool HasAttribute<TAttribute>(MemberInfo member, bool inherit) where TAttribute : Attribute
Parameters
| Type | Name | Description |
|---|---|---|
| MemberInfo | member | |
| bool | inherit |
Returns
| Type | Description |
|---|---|
| bool |
Type Parameters
| Name | Description |
|---|---|
| TAttribute |