/// <summary>
 /// Sets the policies.
 /// </summary>
 protected void SetPolicies(PolicyList policies)
 {
     this.policies = policies;
 }
 /// <summary>
 /// Initializes a new instance of the <see cref="BuilderContext"/> class using
 /// the provided chain, locator, and policies.
 /// </summary>
 /// <param name="chain">The strategy chain.</param>
 /// <param name="locator">The locator.</param>
 /// <param name="policies">The permanent policies from the builder.</param>
 public BuilderContext(IBuilderStrategyChain chain, IReadWriteLocator locator, PolicyList policies)
 {
     this.chain    = chain;
     this.locator  = locator;
     this.policies = new PolicyList(policies);
 }