Paradox Game Engine
v1.0.0 beta06
Main Page
Related Pages
Packages
Classes
Files
File List
File Members
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Properties
Events
Macros
Pages
ProjectTemplateTransformation.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
;
4
using
Microsoft.VisualStudio.TextTemplating;
5
6
namespace
SiliconStudio.ProjectTemplating
7
{
8
/// <summary>
9
/// Base that must be used for all ProjectTemplate
10
/// </summary>
11
public
abstract
class
ProjectTemplateTransformation
:
TextTransformation
12
{
13
/// <summary>
14
/// Gets the name of the project.
15
/// </summary>
16
/// <value>The name of the project.</value>
17
public
string
ProjectName
18
{
19
get
20
{
21
return
Session[
"ProjectName"
].ToString();
22
}
23
}
24
25
/// <summary>
26
/// Gets the project unique identifier.
27
/// </summary>
28
/// <value>The project unique identifier.</value>
29
public
Guid ProjectGuid
30
{
31
get
32
{
33
return
(Guid)Session[
"ProjectGuid"
];
34
}
35
}
36
37
/// <summary>
38
/// Dynamic properties accessible from the template
39
/// </summary>
40
public
dynamic Properties
41
{
42
get
43
{
44
return
((CustomTemplatingSession)Session).Dynamic;
45
}
46
}
47
}
48
}
TextTransformation
SiliconStudio.Shaders.Parser.System
A system file.
SiliconStudio.ProjectTemplating.ProjectTemplateTransformation
Base that must be used for all ProjectTemplate
Definition:
ProjectTemplateTransformation.cs:11
sources
tools
SiliconStudio.ProjectTemplating
ProjectTemplateTransformation.cs
Generated on Sat Dec 20 2014 21:52:31 for Paradox Game Engine by
1.8.7