-
Notifications
You must be signed in to change notification settings - Fork 77
Open
Labels
needs-triageIndicates that an issue needs to be categorized.Indicates that an issue needs to be categorized.
Description
Hi
I created some Extension-Methods in my Project so i could define new Conjunctions like these:
public static TConjunction AreNone<TConjunction, TRuleType>(
this GivenTypesThat<TConjunction, TRuleType> givenTypes)
where TConjunction : GivenTypesConjunction
where TRuleType : IType
=>
givenTypes.AreNot(ArchRuleDefinition.Types());
public static TConjunction AreConstructors<TConjunction, TRuleType>(
this GivenMembersThat<TConjunction, TRuleType> givenMembers)
where TConjunction : GivenMembersConjunction
where TRuleType : IMember
=>
givenMembers.HaveName(".ctor");
...
Sadly, after updating from 0.13.1 to 0.13.2 these Extensions are not working anymore, cause there is an issue with GivenTypesThat and GivenMembersThat, regarding their generics. My Compiler says, they would not use generics...
This may not be an issue, cause you may not intend the creation of extension methods for custom conjunctions, but i would like to know how i could adapt to your new version to use this option of creating my own conjunctions.
thanks regards
Niels
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
needs-triageIndicates that an issue needs to be categorized.Indicates that an issue needs to be categorized.