Paradox Game Engine  v1.0.0 beta06
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Events Macros Pages
DefaultTemplateProvider.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.Presentation.View
4 {
5  /// <summary>
6  /// A default implementation of the <see cref="ITemplateProvider"/> interface that matches any object.
7  /// </summary>
9  {
10  /// <inheritdoc/>
11  public override string Name { get { return "Default"; } }
12 
13  /// <inheritdoc/>
14  public override bool Match(object obj)
15  {
16  return true;
17  }
18  }
19 }
A default implementation of the ITemplateProvider interface that matches any object.
An abstract implementation of the ITemplateProvider interface.
override bool Match(object obj)
Indicates whether this instance of ITemplateProvider can provide a template for the given object...