DotNet.Materials.Class.MaterialCategories - Elite-Dangerous-Almanac/Almanac-Core GitHub Wiki
EliteDangerousAlmanac / Materials / MaterialCategories
Defined in: dotnet/src/EliteDangerousAlmanac/Materials/MaterialCategory.cs:19
Reads a MaterialCategory from its name.
staticTryParse(name,category):bool
Defined in: dotnet/src/EliteDangerousAlmanac/Materials/MaterialCategory.cs:29
Reads a category from its name.
string?
The category name: raw, manufactured or encoded.
out MaterialCategory
The category the name denotes, when the answer is true.
bool
true when the name denotes a category.
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.