C# Class IronPython.Runtime.Types.TypeInfo.ComparisonResolver

Resolves methods mapped to __gt__, __lt__, __ge__, __le__, as well as providing an alternate resolution for __eq__ and __ne__, from the comparable type's CompareTo method. This should be run after the EqualityResolver.
Inheritance: MemberResolver
Afficher le fichier Open project: jschementi/iron

Méthodes publiques

Méthode Description
ComparisonResolver ( Type comparable, string helperPrefix ) : System
ResolveMember ( MemberBinder binder, MemberRequestKind action, Type type, string name ) : MemberGroup

Méthodes protégées

Méthode Description
GetCandidateNames ( MemberBinder binder, MemberRequestKind action, Type type ) : IEnumerable

Method Details

ComparisonResolver() public méthode

public ComparisonResolver ( Type comparable, string helperPrefix ) : System
comparable System.Type
helperPrefix string
Résultat System

GetCandidateNames() protected méthode

protected GetCandidateNames ( MemberBinder binder, MemberRequestKind action, Type type ) : IEnumerable
binder MemberBinder
action MemberRequestKind
type System.Type
Résultat IEnumerable

ResolveMember() public méthode

public ResolveMember ( MemberBinder binder, MemberRequestKind action, Type type, string name ) : MemberGroup
binder MemberBinder
action MemberRequestKind
type System.Type
name string
Résultat MemberGroup