-
Notifications
You must be signed in to change notification settings - Fork 39
Closed
Labels
Enhancement 🔨Improvement of existing featuresImprovement of existing features
Milestone
Description
Accessing IPolicyList requires new allocations of Key object and contributes to performance penalties. This could be avoided if Type and Name were part of API. So instead of:
IBuilderPolicy Get(Type policyInterface, object buildKey, out IPolicyList containingPolicyList);
void Set(Type policyInterface, IBuilderPolicy policy, object buildKey = null);
void Clear(Type policyInterface, object buildKey);
it should be:
IBuilderPolicy Get(Type type, string name, Type policyInterface, out IPolicyList list);
void Set(Type type, string name, Type policyInterface, IBuilderPolicy policy);
void Clear(Type type, string name, Type policyInterface);
Metadata
Metadata
Assignees
Labels
Enhancement 🔨Improvement of existing featuresImprovement of existing features