示例#1
0
 //
 // - Methods -
 //
 /// <summary>
 /// Add a FileGroup instance.
 /// </summary>
 /// <remarks>
 /// The supplied FileGroup instance may only be added to one FileGroups instance.
 /// </remarks>
 /// <param name="fileGroup">The FileGroup instance to add.</param>
 public void Add(FileGroup fileGroup)
 {
     this.collection.Add(fileGroup);
     fileGroup.FileGroups = this;
 }
示例#2
0
        //
        // - Methods -
        //

        /// <summary>
        /// Add a FileGroup instance.
        /// </summary>
        /// <remarks>
        /// The supplied FileGroup instance may only be added to one FileGroups instance.
        /// </remarks>
        /// <param name="fileGroup">The FileGroup instance to add.</param>
        public void Add(FileGroup fileGroup)
        {
            this.collection.Add(fileGroup);
            fileGroup.FileGroups = this;
        }