Table of Contents

Class UnitSymbolTypeExtensions

Namespace
RvtIO.BuiltIns
Assembly
RvtIO.dll

Lookups between RvtIO.BuiltIns.UnitSymbolType and its text.

public static class UnitSymbolTypeExtensions

Inheritance

Inherited Members

Methods

TryGetFromSymbol(string, out UnitSymbolType)

Finds the symbol type for unitSymbolString. The text must match a known symbol exactly; the key returned is the first one whose symbol matches ignoring case.

public static bool TryGetFromSymbol(this string unitSymbolString, out UnitSymbolType unitSymbol)

Parameters

unitSymbolString string
unitSymbol UnitSymbolType

Returns

bool

TryGetSymbol(UnitSymbolType, out string)

Gets the symbol text of unitSymbol.

public static bool TryGetSymbol(this UnitSymbolType unitSymbol, out string unitSymbolString)

Parameters

unitSymbol UnitSymbolType
unitSymbolString string

Returns

bool