Paradox Game Engine  v1.0.0 beta06
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Events Macros Pages
TagSymbol.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 
5 namespace SiliconStudio.BuildEngine
6 {
7  public class TagSymbol
8  {
9  private string name;
10  private Func<string> computeRealName;
11 
12  public string Name { get { return name; } }
13  public string RealName { get { return computeRealName != null ? computeRealName() : name; } }
14 
15  public TagSymbol(string name, Func<string> computeRealName = null)
16  {
17  this.name = name;
18  this.computeRealName = computeRealName;
19  }
20  }
21 }
TagSymbol(string name, Func< string > computeRealName=null)
Definition: TagSymbol.cs:15