Paradox Game Engine  v1.0.0 beta06
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Events Macros Pages
BundleCollection.cs
Go to the documentation of this file.
1 // Copyright (c) 2014 Silicon Studio Corp. (http://siliconstudio.co.jp)
2 // This file is distributed under GPL v3. See LICENSE.md for details.
3 using System.Collections.Generic;
4 using SiliconStudio.Core;
5 
6 namespace SiliconStudio.Assets
7 {
8  /// <summary>
9  /// A collection of bundles.
10  /// </summary>
11  [DataContract("!Bundles")]
12  public class BundleCollection : List<Bundle>
13  {
14  private readonly Package package;
15 
16  /// <summary>
17  /// Initializes a new instance of the <see cref="BundleCollection"/> class.
18  /// </summary>
19  /// <param name="package">The package.</param>
20  internal BundleCollection(Package package)
21  {
22  this.package = package;
23  }
24 
25  /// <summary>
26  /// Gets the package this bundle collection is defined for.
27  /// </summary>
28  /// <value>The package.</value>
29  [DataMemberIgnore]
30  private Package Package
31  {
32  get
33  {
34  return package;
35  }
36  }
37  }
38 }
A package managing assets.
Definition: Package.cs:28