Using Any Constructor like a primary constructor #7619
Unanswered
TonyValenti
asked this question in
General
Replies: 1 comment
-
You can do internal class DiaryParticipatingContact_ByDiaryId1() : LookupCache<long, DiaryParticipatingContact, DiaryParticipatingContactCache>
(x => x.DiaryId); |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Is it possible to use any constructor like a primary constructor?
I have a ton of classes that I currently have to define like this:
but I'd like to define like this:
Thanks for the help!
Beta Was this translation helpful? Give feedback.
All reactions