Click or drag to resize

MeshAnalysisUtilitiesGetAliasSafe Method (Type)

Gets the alias of a MeshAnalysisTool or a MeshAnalysisShadingOption, which stored in AliasAttribute

Namespace:  HightlanderSolutions.MeshCheckerEditorExtension.MeshAnalysisFramework
Assembly:  MeshCheckerLibrary (in MeshCheckerLibrary.dll) Version: 2.3
Syntax
C#
[CanBeNullAttribute]
[PublicAPIAttribute]
public static string GetAliasSafe(
	Type type
)

Parameters

type
Type: SystemType
The type of a tool or shadingOption class.

Must be derived from MeshAnalysisTool, MeshAnalysisShadingOption or implement IHaveAlias interface.

Return Value

Type: String
Alias if exists; otherwise, null.
Exceptions
ExceptionCondition
ArgumentExceptiontype are not implementing IHaveAlias interface.
See Also