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