Show / Hide Table of Contents

Class LocalizationHelper

Localization extensions for reflection.

Inheritance
System.Object
LocalizationHelper
Inherited Members
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
Assembly: Kephas.Core.dll
Syntax
public static class LocalizationHelper

Properties

| Improve this Doc View Source

CreateTypeInfoLocalization

Gets or sets the function for creating the type info localization.

Declaration
public static Func<ITypeInfo, ITypeInfoLocalization> CreateTypeInfoLocalization { get; set; }
Property Value
Type Description
System.Func<ITypeInfo, ITypeInfoLocalization>

The function for creating the type info localization.

Methods

| Improve this Doc View Source

GetLocalization(IPropertyInfo)

Gets the localization for a IPropertyInfo.

Declaration
public static IMemberInfoLocalization GetLocalization(this IPropertyInfo propertyInfo)
Parameters
Type Name Description
IPropertyInfo propertyInfo

The property information to act on.

Returns
Type Description
IMemberInfoLocalization

The property localization.

| Improve this Doc View Source

GetLocalization(ITypeInfo)

Gets the localization for a ITypeInfo.

Declaration
public static ITypeInfoLocalization GetLocalization(this ITypeInfo typeInfo)
Parameters
Type Name Description
ITypeInfo typeInfo

The type information to act on.

Returns
Type Description
ITypeInfoLocalization

The type localization.

| Improve this Doc View Source

GetLocalization(PropertyInfo)

Gets the localization for a System.Reflection.PropertyInfo.

Declaration
public static IMemberInfoLocalization GetLocalization(this PropertyInfo propertyInfo)
Parameters
Type Name Description
System.Reflection.PropertyInfo propertyInfo

The property information to act on.

Returns
Type Description
IMemberInfoLocalization

The property localization.

| Improve this Doc View Source

GetLocalization(TypeInfo)

Gets the localization for a System.Reflection.TypeInfo.

Declaration
public static ITypeInfoLocalization GetLocalization(this TypeInfo typeInfo)
Parameters
Type Name Description
System.Reflection.TypeInfo typeInfo

The type information to act on.

Returns
Type Description
ITypeInfoLocalization

The type localization.

| Improve this Doc View Source

GetLocalization(Type)

Gets the localization for a System.Type.

Declaration
public static ITypeInfoLocalization GetLocalization(this Type type)
Parameters
Type Name Description
System.Type type

The type to act on.

Returns
Type Description
ITypeInfoLocalization

The type localization.

  • Improve this Doc
  • View Source
Back to top Generated by DocFX