Skip to content

DotNet.Materials.Class.MaterialCategories

github-actions[bot] edited this page Sep 20, 2026 · 11 revisions

EliteDangerousAlmanac / Materials / MaterialCategories

Class: MaterialCategories

Defined in: dotnet/src/EliteDangerousAlmanac/Materials/MaterialCategory.cs:19

Reads a MaterialCategory from its name.

Methods

TryParse()

static TryParse(name, category): bool

Defined in: dotnet/src/EliteDangerousAlmanac/Materials/MaterialCategory.cs:29

Reads a category from its name.

Parameters

name

string?

The category name: raw, manufactured or encoded.

category

out MaterialCategory

The category the name denotes, when the answer is true.

Returns

bool

true when the name denotes a category.

Remarks

Leading and trailing whitespace and case are ignored, so a value that arrived from a saved filter or a dropdown resolves without cleaning it first.

.NET

Guides
Astronomy
Classes (16)
Records (29)
Enumerations (6)
Commodities
Classes (2)
Records (1)
Enumerations (1)
Equipment
Classes (8)
Records (19)
Enumerations (8)
GalaxyMap
Classes (1)
Records (1)
Localization
Classes (2)
Enumerations (1)
Materials
Classes (5)
Records (2)
Enumerations (4)
Ships
Classes (42)
Records (115)
Interfaces (1)
Enumerations (35)

Clone this wiki locally