You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I am still new to the Roslyn API, but learning fast!
I noticed currently in Testura, there are only options for: Get and GetSet types of properties.
I have a use-case where I am generating a DbContext file. I want to generate:
publicclassMySchoolDbContext:DbContext{// I want to have the property initializer be '=>' generated by Testura.CodepublicDbSet<Student>Students=>Set<Student>();}
I don't think this is possible currently.
The goal is to add an additional Property Setter type of: =>
If you are busy, I can implement the feature myself in Testura.Code and test it, then open a pull request. I examined the code, and I could not figure out 'how' to modify the RoslynAPI to generate this. I suspect it hast to do something with SyntaxToken.... but im not sure exactly.
If you can point me in the right direction, I can get this implemented directly in Testura.Code then open a pull request immediately.