Table of Contents

Class ResourceUtil

Namespace
Hi.Common
Assembly
HiGeom.dll

Utility class for working with resource managers and localized strings.

public static class ResourceUtil
Inheritance
ResourceUtil
Inherited Members

Fields

CoatingMaterialFolder

Gets the path to the coating material resource folder.

public const string CoatingMaterialFolder = "Resource/CoatingMaterial"

Field Value

string

CutterFolder

Gets the path to the cutter resource folder.

public const string CutterFolder = "Resource/Cutter"

Field Value

string

CuttingParameterFolder

Gets the path to the cutting parameter resource folder.

public const string CuttingParameterFolder = "Resource/CuttingParameter"

Field Value

string

HolderFolder

Gets the path to the holder resource folder.

public const string HolderFolder = "Resource/Holder"

Field Value

string

MachineToolFolder

Gets the path to the machine tool resource folder.

public const string MachineToolFolder = "Resource/MachineTool"

Field Value

string

ResourceFolder

Gets the path to the main resource folder.

public const string ResourceFolder = "Resource"

Field Value

string

SpindleCapabilityFolder

Gets the path to the spindle capability resource folder.

public const string SpindleCapabilityFolder = "Resource/SpindleCapability"

Field Value

string

StructureMaterialFolder

Gets the path to the structure material resource folder.

public const string StructureMaterialFolder = "Resource/StructureMaterial"

Field Value

string

WorkpieceMaterialFolder

Gets the path to the workpiece material resource folder.

public const string WorkpieceMaterialFolder = "Resource/WorkpieceMaterial"

Field Value

string

Methods

GetStringOrDefault(ResourceManager, string)

get string by the name as key from resourceManager The default value is the name itself.

public static string GetStringOrDefault(this ResourceManager resourceManager, string name)

Parameters

resourceManager ResourceManager
name string

Returns

string

GetStringOrDefault(ResourceManager, string, CultureInfo)

get string by the name as key from resourceManager The default value is the name itself.

public static string GetStringOrDefault(this ResourceManager resourceManager, string name, CultureInfo cultureInfo)

Parameters

resourceManager ResourceManager
name string
cultureInfo CultureInfo

Returns

string