コード例 #1
0
 /// <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);
 }
コード例 #2
0
 /// <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);
 }