Class ResourceUtil
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
CutterFolder
Gets the path to the cutter resource folder.
public const string CutterFolder = "Resource/Cutter"
Field Value
CuttingParameterFolder
Gets the path to the cutting parameter resource folder.
public const string CuttingParameterFolder = "Resource/CuttingParameter"
Field Value
HolderFolder
Gets the path to the holder resource folder.
public const string HolderFolder = "Resource/Holder"
Field Value
MachineToolFolder
Gets the path to the machine tool resource folder.
public const string MachineToolFolder = "Resource/MachineTool"
Field Value
ResourceFolder
Gets the path to the main resource folder.
public const string ResourceFolder = "Resource"
Field Value
SpindleCapabilityFolder
Gets the path to the spindle capability resource folder.
public const string SpindleCapabilityFolder = "Resource/SpindleCapability"
Field Value
StructureMaterialFolder
Gets the path to the structure material resource folder.
public const string StructureMaterialFolder = "Resource/StructureMaterial"
Field Value
WorkpieceMaterialFolder
Gets the path to the workpiece material resource folder.
public const string WorkpieceMaterialFolder = "Resource/WorkpieceMaterial"
Field Value
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
ResourceManagername
string
Returns
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
ResourceManagername
stringcultureInfo
CultureInfo