コード例 #1
0
ファイル: LayoutCollection.cs プロジェクト: kisflying/kion
 /// <summary>
 /// Adds the elements of another LayoutCollection to the end of this LayoutCollection.
 /// </summary>
 /// <param name="items">
 /// The LayoutCollection whose elements are to be added to the end of this LayoutCollection.
 /// </param>
 public virtual void AddRange(LayoutCollection items)
 {
     foreach (ILayout item in items)
     {
         this.List.Add(item);
     }
 }
コード例 #2
0
ファイル: LayoutCollection.cs プロジェクト: kisflying/kion
 /// <summary>
 /// Initializes a new instance of the LayoutCollection class, containing elements
 /// copied from another instance of LayoutCollection
 /// </summary>
 /// <param name="items">
 /// The LayoutCollection whose elements are to be added to the new LayoutCollection.
 /// </param>
 public LayoutCollection(LayoutCollection items)
 {
     this.AddRange(items);
 }
コード例 #3
0
ファイル: LayoutCollection.cs プロジェクト: kisflying/kion
 /// <summary>
 /// 
 /// </summary>
 /// <param name="collection"></param>
 public Enumerator(LayoutCollection collection)
 {
     this.wrapped = ((System.Collections.CollectionBase)collection).GetEnumerator();
 }
コード例 #4
0
ファイル: File.cs プロジェクト: kisflying/kion
 /// <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);
     _fileNameLayout.PopulateLayouts(layouts);
 }
コード例 #5
0
ファイル: Layout.cs プロジェクト: kisflying/kion
 /// <summary>
 /// Add this layout and all sub-layouts to the specified collection..
 /// </summary>
 /// <param name="layouts">The collection of layouts.</param>
 public void PopulateLayouts(LayoutCollection layouts)
 {
     layouts.Add(this);
 }
コード例 #6
0
ファイル: TargetWithLayout.cs プロジェクト: kisflying/kion
 /// <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)
 {
     if (this.CompiledLayout != null)
         this.CompiledLayout.PopulateLayouts(layouts);
 }