Class TypeExtensions
- Namespace
- Artemis.UI.Shared.Extensions
- Assembly
- Artemis.UI.Shared.dll
Provides utilities when working with types in UI elements.
public static class TypeExtensions
- Inheritance
-
objectTypeExtensions
Methods
GetTypeIcon(Type?)
Finds an appropriate Material Design icon for the given type.
public static MaterialIconKind GetTypeIcon(this Type? type)
Parameters
typeTypeThe type to retrieve an icon for.
Returns
- MaterialIconKind
An appropriate Material Design icon for the given
type.