Udostępnij za pośrednictwem


DomainClassInheritanceComparer Class

Definition

Class to order domain classes by their inheritance tree, so leaf classes come first.

public ref class DomainClassInheritanceComparer : Microsoft::VisualStudio::Modeling::DslDefinition::DomainClassInheritanceComparer<Microsoft::VisualStudio::Modeling::DslDefinition::DomainClass ^>
public class DomainClassInheritanceComparer : Microsoft.VisualStudio.Modeling.DslDefinition.DomainClassInheritanceComparer<Microsoft.VisualStudio.Modeling.DslDefinition.DomainClass>
type DomainClassInheritanceComparer = class
    inherit DomainClassInheritanceComparer<DomainClass>
Public Class DomainClassInheritanceComparer
Inherits DomainClassInheritanceComparer(Of DomainClass)
Inheritance
DomainClassInheritanceComparer

Remarks

Do not use this class with a SortedList or SortedDictionary class as the fact that it returns 0 for unrelated classes means that keys will no longer be based on object identity.

Constructors

DomainClassInheritanceComparer()

Methods

Compare(Object, Object)

Compare two Domain Classes

(Inherited from DomainClassInheritanceComparer<T>)
Compare(T, T)

Compare two domain classes

(Inherited from DomainClassInheritanceComparer<T>)

Applies to