/// <summary> /// Adds all layouts used by this target to the specified collection. /// </summary> /// <param name="layouts">The collection to add layouts to.</param> public override void PopulateLayouts(LayoutCollection layouts) { base.PopulateLayouts(layouts); foreach (FilteringRule fr in Rules) { fr.FilterCondition.PopulateLayouts(layouts); fr.ExistsCondition.PopulateLayouts(layouts); } _defaultFilter.PopulateLayouts(layouts); }
/// <summary> /// Adds all layouts used by this target to the specified collection. /// </summary> /// <param name="layouts">The collection to add layouts to.</param> public override void PopulateLayouts(LayoutCollection layouts) { base.PopulateLayouts(layouts); _condition.PopulateLayouts(layouts); }