Click or drag to resize

GUIFactoryServiceGetUserFriendlyClassName(Type) Method

Gets a user friendly class name. See remarks for a detailed description how it is been obtained.

Namespace: Altaxo.Main.Services
Assembly: AltaxoBase (in AltaxoBase.dll) Version: 4.8.3179.0 (4.8.3179.0)
Syntax
C#
public string GetUserFriendlyClassName(
	Type definedtype
)

Parameters

definedtype  Type
The type of the class for which to obtain the user friendly class name.

Return Value

String
The user friendly class name. See remarks.

Implements

IGuiFactoryServiceGetUserFriendlyClassName(Type)
Remarks
The strategy for obtaining a user friendly class name is as follows:
  • If there is a resource string "ClassNames.type" (type is replaced by the type of the class), then the resource string is returned.
  • If there is a description attribute for that class, the description string is returned.
  • The name of the class (without namespace), followed by the namespace name in paranthesis is returned.
See Also