Paradox Game Engine  v1.0.0 beta06
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Events Macros Pages
CompilerContext.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 
4 namespace SiliconStudio.Assets.Compiler
5 {
6  /// <summary>
7  /// The context used when compiling an asset in a Package.
8  /// </summary>
9  public class CompilerContext
10  {
11  /// <summary>
12  /// Initializes a new instance of the <see cref="CompilerContext"/> class.
13  /// </summary>
14  public CompilerContext()
15  {
16  Properties = new PropertyCollection();
17  }
18 
19  /// <summary>
20  /// Gets the attributes attached to this context.
21  /// </summary>
22  /// <value>The attributes.</value>
23  public PropertyCollection Properties { get; private set; }
24 
26  {
27  var context = (CompilerContext)MemberwiseClone();
28  return context;
29  }
30  }
31 }
The context used when compiling an asset in a Package.
CompilerContext()
Initializes a new instance of the CompilerContext class.