Paradox Game Engine  v1.0.0 beta06
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Events Macros Pages
DefaultTemplateProviderComparer.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.Presentation.View
6 {
7  /// <summary>
8  /// A default implementation of the <see cref="TemplateProviderComparerBase"/> class that compares <see cref="ITemplateProvider"/> instances by name.
9  /// </summary>
11  {
13  {
14  return string.Compare(x.Name, y.Name, StringComparison.Ordinal);
15  }
16  }
17 }
A default implementation of the TemplateProviderComparerBase class that compares ITemplateProvider in...
_In_ size_t _In_ DXGI_FORMAT _In_ size_t _In_ float size_t y
Definition: DirectXTexP.h:191
override int CompareProviders(ITemplateProvider x, ITemplateProvider y)
Compares two ITemplateProvider to determine which template has the greatest priority.
An interface for a class that can provide a template for a given object that matches some prerequisit...
A base class to compare instances of ITemplateProvider in order to determine which template to use wh...