Show / Hide Table of Contents

Interface IAttributeProvider

Contract for reflective objects providing runtime attributes.

Namespace: Kephas.Runtime
Assembly: Kephas.Core.dll
Syntax
public interface IAttributeProvider

Methods

| Improve this Doc View Source

GetAttributes<TAttribute>()

Gets the attribute of the provided type.

Declaration
IEnumerable<TAttribute> GetAttributes<TAttribute>()

    where TAttribute : Attribute
Returns
Type Description
System.Collections.Generic.IEnumerable<TAttribute>

The attribute of the provided type.

Type Parameters
Name Description
TAttribute

Type of the attribute.

Extension Methods

DynamicObjectExtensions.SetPropertyValue(Object, String, Object)
DynamicObjectExtensions.TrySetPropertyValue(Object, String, Object)
DynamicObjectExtensions.GetPropertyValue(Object, String)
DynamicObjectExtensions.TryGetPropertyValue(Object, String, out Object)
DynamicObjectExtensions.GetRuntimeTypeInfo(Object)
DynamicObjectExtensions.ToDynamic(Object)
DynamicObjectExtensions.ToExpando(Object)
BehaviorValue.ToBehaviorValue<TValue>(TValue)
CollectionExtensions.AddRange<T, TItem>(T, IEnumerable<TItem>)
LoggingExtensions.GetLogger(Object, IContext)
TypeExtensions.GetAbstractType(Object)
TypeExtensions.GetAbstractTypeInfo(Object)
ReflectionHelper.GetTypeInfo(Object)
AttributeProviderExtensions.GetAttribute<TAttribute>(IAttributeProvider)
RuntimeTypeInfoExtensions.IsExcludedFromModel(IAttributeProvider)
EntityEntryExtensions.TryGetAttachedEntityEntry(Object)
  • Improve this Doc
  • View Source
Back to top Generated by DocFX