-
Notifications
You must be signed in to change notification settings - Fork 2k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Added support for instanced versions of MayInterleave predicates #8548
Added support for instanced versions of MayInterleave predicates #8548
Conversation
var functionDelegate = method.CreateDelegate(functionType); | ||
var predicateType = typeof(MayInterleaveInstancedPredicate<>).MakeGenericType(grainType); | ||
|
||
return Activator.CreateInstance(predicateType, functionDelegate) as IMayInterleavePredicate; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
(side note) at some point we will probably need to make this more AOT friendly, which will involve reworking all of this.
…Grain along with corresponding classes and tests
@dotnet-policy-service agree |
…instanced version of MayInterleave attribute
Ok, LGTM. I'll merge when CI completes. Thank you for the PR! |
null
Microsoft Reviewers: Open in CodeFlow