Skip to content
This repository was archived by the owner on May 12, 2023. It is now read-only.

Deserialize list of attributes to strongly typed class #5

Closed
pardahlman opened this issue Apr 17, 2017 · 0 comments
Closed

Deserialize list of attributes to strongly typed class #5

pardahlman opened this issue Apr 17, 2017 · 0 comments

Comments

@pardahlman
Copy link
Owner

A generic type must be declared when requesting multiple attributes using GetManyAsync<TModel>(). There is a GenericAttribute which carries all possible properties of the attribute. However it makes sense to use AttributeBase as generic argument and have the items reference be the base class while the instance being the strongly typed attribute class.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant