public virtual void ExecutePolicy(AssetTagPlan plan, ICombinationPolicy policy) { policy.DetermineCombinations(plan).Each(combo => { _cache.StoreCombination(plan.MimeType, combo); //plan.TryCombination(combo); }); }
public virtual void ExecutePolicy(AssetTagPlan plan, ICombinationPolicy policy) { policy.DetermineCombinations(plan).Each(combo => { _cache.StoreCombination(plan.MimeType, combo); //plan.TryCombination(combo); }); }
public override void ExecutePolicy(AssetTagPlan plan, ICombinationPolicy policy) { Policies.Add(policy); }
public void Add(ICombinationPolicy policy) { _policies.Add(policy); }