Show / Hide Table of Contents

Class ElementInfoLocalization

Localization information for IElementInfo.

Inheritance
System.Object
System.Dynamic.DynamicObject
ExpandoBase
Expando
Localization
ElementInfoLocalization
MemberInfoLocalization
TypeInfoLocalization
Implements
IElementInfoLocalization
ILocalization
IExpando
System.Dynamic.IDynamicMetaObjectProvider
IIndexable
Inherited Members
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 ElementInfoLocalization : Localization, IElementInfoLocalization, ILocalization, IExpando, IDynamicMetaObjectProvider, IIndexable

Constructors

| Improve this Doc View Source

ElementInfoLocalization()

Initializes a new instance of the ElementInfoLocalization class.

Declaration
public ElementInfoLocalization()
| Improve this Doc View Source

ElementInfoLocalization(IElementInfo)

Initializes a new instance of the ElementInfoLocalization class.

Declaration
public ElementInfoLocalization(IElementInfo elementInfo)
Parameters
Type Name Description
IElementInfo elementInfo

Information describing the element.

Properties

| Improve this Doc View Source

Description

Gets or sets the localized description.

Declaration
public virtual string Description { get; set; }
Property Value
Type Description
System.String

The localized description.

| Improve this Doc View Source

DisplayAttribute

Gets the display attribute used to extract the localized values.

Declaration
protected DisplayAttribute DisplayAttribute { get; }
Property Value
Type Description
System.ComponentModel.DataAnnotations.DisplayAttribute
| Improve this Doc View Source

Name

Gets or sets the localized name.

Declaration
public virtual string Name { get; set; }
Property Value
Type Description
System.String

The localized name.

Methods

| Improve this Doc View Source

TryGetDisplayAttribute(IElementInfo)

Tries to get the display attribute from the provided IElementInfo.

Declaration
protected virtual 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.

Implements

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