@@ -22,12 +22,6 @@ public interface IPolicyList
2222 /// </summary>
2323 void ClearAll ( ) ;
2424
25- /// <summary>
26- /// Removes a default policy.
27- /// </summary>
28- /// <param name="policyInterface">The type the policy was registered as.</param>
29- void ClearDefault ( Type policyInterface ) ;
30-
3125 /// <summary>
3226 /// Gets an individual policy.
3327 /// </summary>
@@ -36,18 +30,18 @@ public interface IPolicyList
3630 /// <param name="containingPolicyList">The policy list in the chain that the searched for policy was found in, null if the policy was
3731 /// not found.</param>
3832 /// <returns>The policy in the list, if present; returns null otherwise.</returns>
39- IBuilderPolicy Get ( Type policyInterface , object buildKey , out IPolicyList containingPolicyList ) ;
33+ IBuilderPolicy GetOrDefault ( Type policyInterface , object buildKey , out IPolicyList containingPolicyList ) ;
4034
4135 /// <summary>
42- /// Get the non default policy.
36+ /// GetOrDefault the non default policy.
4337 /// </summary>
4438 /// <param name="policyInterface">The interface the policy is registered under.</param>
4539 /// <param name="buildKey">The key the policy applies to.</param>
4640 /// <param name="localOnly">True if the search should be in the local policy list only; otherwise false to search up the parent chain.</param>
4741 /// <param name="containingPolicyList">The policy list in the chain that the searched for policy was found in, null if the policy was
4842 /// not found.</param>
4943 /// <returns>The policy in the list if present; returns null otherwise.</returns>
50- IBuilderPolicy GetNoDefault ( Type policyInterface , object buildKey , out IPolicyList containingPolicyList ) ;
44+ IBuilderPolicy Get ( Type policyInterface , object buildKey , out IPolicyList containingPolicyList ) ;
5145
5246 /// <summary>
5347 /// Sets an individual policy.
0 commit comments