Paradox Game Engine  v1.0.0 beta06
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Events Macros Pages
MapRule.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 namespace SiliconStudio.Shaders.Convertor
4 {
5  /// <summary>
6  /// A map rule for types.
7  /// </summary>
8  public class MapRule
9  {
10  /// <summary>
11  /// Gets or sets the name.
12  /// </summary>
13  /// <value>
14  /// The name.
15  /// </value>
16  public string Name { get; set; }
17 
18  /// <summary>
19  /// Gets or sets the type.
20  /// </summary>
21  /// <value>
22  /// The type.
23  /// </value>
24  public string Type { get; set; }
25 
26  /// <inheritdoc/>
27  public override string ToString()
28  {
29  return string.Format("<map name='{0}' type='{1}'/>", this.Name, this.Type);
30  }
31  }
32 }
A map rule for types.
Definition: MapRule.cs:8