Method DeserializeOrDefault
DeserializeOrDefault<T>(PoeConfigMetadata<T>, Func<PoeConfigMetadata<T>, T>)
Declaration
T DeserializeOrDefault<T>(PoeConfigMetadata<T> metadata, Func<PoeConfigMetadata<T>, T> defaultItemFactory) where T : IPoeEyeConfig
Parameters
Type | Name | Description |
---|---|---|
PoeConfigMetadata<T> | metadata | |
Func<PoeConfigMetadata<T>, T> | defaultItemFactory |
Returns
Type | Description |
---|---|
T |
Type Parameters
Name | Description |
---|---|
T |