Show / Hide Table of Contents

Class EcopediaUtils

Ecopedia utils.

Inheritance
System.Object
EcopediaUtils
Namespace: Eco.Core.Ecopedia
Assembly: Eco.Core.dll
Syntax
public static class EcopediaUtils : Object

Methods

GetPageDisplayName(Type, EcopediaAttribute)

Returns page display name for type.

Declaration
public static LocString GetPageDisplayName(Type type, EcopediaAttribute attr)
Parameters
Type Name Description
System.Type type
EcopediaAttribute attr
Returns
Type Description
LocString

GetPageName(Type, EcopediaAttribute)

Returns page name for type. If this type is in a subpage, it actually returns the name of the parent page.

Declaration
public static string GetPageName(Type type, EcopediaAttribute attr)
Parameters
Type Name Description
System.Type type
EcopediaAttribute attr
Returns
Type Description
System.String

GetSubPageDisplayName(Type)

Declaration
public static LocString GetSubPageDisplayName(Type type)
Parameters
Type Name Description
System.Type type
Returns
Type Description
LocString

GetSubPageName(Type)

Declaration
public static string GetSubPageName(Type type)
Parameters
Type Name Description
System.Type type
Returns
Type Description
System.String
☀
☾
In This Article
Back to top
Copyright (c) Strange Loop Games 2021
☀
☾