Show / Hide Table of Contents

Class TypeInfoLocalization

The type info localization.

Inheritance
System.Object
System.Dynamic.DynamicObject
ExpandoBase
Expando
Localization
ElementInfoLocalization
TypeInfoLocalization
Implements
ITypeInfoLocalization
IElementInfoLocalization
ILocalization
IExpando
System.Dynamic.IDynamicMetaObjectProvider
IIndexable
Inherited Members
ElementInfoLocalization.Name
ElementInfoLocalization.Description
ElementInfoLocalization.DisplayAttribute
Localization.Culture
ExpandoBase.Item[String]
ExpandoBase.GetDynamicMemberNames()
ExpandoBase.HasDynamicMember(String)
ExpandoBase.TryGetMember(GetMemberBinder, Object)
ExpandoBase.TrySetMember(SetMemberBinder, Object)
ExpandoBase.TryInvokeMember(InvokeMemberBinder, Object[], Object)
ExpandoBase.ToDictionary(Func<String, String>, Func<Object, Object>)
ExpandoBase.GetInnerObjectTypeInfo()
ExpandoBase.GetThisTypeInfo()
ExpandoBase.TryGetValue(String, Object)
ExpandoBase.TrySetValue(String, Object)
System.Dynamic.DynamicObject.GetMetaObject(System.Linq.Expressions.Expression)
System.Dynamic.DynamicObject.TryBinaryOperation(System.Dynamic.BinaryOperationBinder, System.Object, System.Object)
System.Dynamic.DynamicObject.TryConvert(System.Dynamic.ConvertBinder, System.Object)
System.Dynamic.DynamicObject.TryCreateInstance(System.Dynamic.CreateInstanceBinder, System.Object[], System.Object)
System.Dynamic.DynamicObject.TryDeleteIndex(System.Dynamic.DeleteIndexBinder, System.Object[])
System.Dynamic.DynamicObject.TryDeleteMember(System.Dynamic.DeleteMemberBinder)
System.Dynamic.DynamicObject.TryGetIndex(System.Dynamic.GetIndexBinder, System.Object[], System.Object)
System.Dynamic.DynamicObject.TryInvoke(System.Dynamic.InvokeBinder, System.Object[], System.Object)
System.Dynamic.DynamicObject.TrySetIndex(System.Dynamic.SetIndexBinder, System.Object[], System.Object)
System.Dynamic.DynamicObject.TryUnaryOperation(System.Dynamic.UnaryOperationBinder, System.Object)
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.ToString()
Namespace: Kephas.Reflection.Localization
Assembly: Kephas.Core.dll
Syntax
public class TypeInfoLocalization : ElementInfoLocalization, ITypeInfoLocalization, IElementInfoLocalization, ILocalization, IExpando, IDynamicMetaObjectProvider, IIndexable

Constructors

| Improve this Doc View Source

TypeInfoLocalization()

Initializes a new instance of the TypeInfoLocalization class.

Declaration
public TypeInfoLocalization()
| Improve this Doc View Source

TypeInfoLocalization(ITypeInfo)

Initializes a new instance of the TypeInfoLocalization class.

Declaration
public TypeInfoLocalization(ITypeInfo typeInfo)
Parameters
Type Name Description
ITypeInfo typeInfo

Information describing the type.

Properties

| Improve this Doc View Source

Members

Gets or sets a dictionary of members' localizations.

Declaration
public IDictionary<string, IMemberInfoLocalization> Members { get; set; }
Property Value
Type Description
System.Collections.Generic.IDictionary<System.String, IMemberInfoLocalization>

The members' localizations.

Methods

| Improve this Doc View Source

CreateMemberInfoLocalization(IElementInfo)

Creates a member information localization.

Declaration
protected virtual IMemberInfoLocalization CreateMemberInfoLocalization(IElementInfo memberInfo)
Parameters
Type Name Description
IElementInfo memberInfo

Information describing the member.

Returns
Type Description
IMemberInfoLocalization

The new member information localization.

| Improve this Doc View Source

TryGetDisplayAttribute(IElementInfo)

Tries to get the display attribute from the provided IElementInfo.

Declaration
protected override DisplayAttribute TryGetDisplayAttribute(IElementInfo elementInfo)
Parameters
Type Name Description
IElementInfo elementInfo

Information describing the element.

Returns
Type Description
System.ComponentModel.DataAnnotations.DisplayAttribute

A DisplayAttribute or null.

Overrides
ElementInfoLocalization.TryGetDisplayAttribute(IElementInfo)

Implements

ITypeInfoLocalization
IElementInfoLocalization
ILocalization
IExpando
System.Dynamic.IDynamicMetaObjectProvider
IIndexable

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>)
ExpandoExtensions.Merge<T>(T, Object)
ExpandoExtensions.GetLaxValue<T>(IIndexable, String, T)
LoggingExtensions.GetLogger(Object, IContext)
TypeExtensions.GetAbstractType(Object)
TypeExtensions.GetAbstractTypeInfo(Object)
ReflectionHelper.GetTypeInfo(Object)
EntityEntryExtensions.TryGetAttachedEntityEntry(Object)
  • Improve this Doc
  • View Source
Back to top Generated by DocFX