Class Caster
Inherited Members
Namespace: Mapsui.Utilities
Assembly: Mapsui.dll
Syntax
public static class Caster
Methods
| Edit this page View SourceTryCastOrThrow<T>(object?)
Declaration
public static T TryCastOrThrow<T>(object? obj) where T : class
Parameters
| Type | Name | Description |
|---|---|---|
| object | obj |
Returns
| Type | Description |
|---|---|
| T |
Type Parameters
| Name | Description |
|---|---|
| T |