C# Class Mycroft.App.Capability

An capability that represents a dependency between apps
Inheritance: IComparable
Afficher le fichier Open project: rit-sse-mycroft/core Class Usage Examples

Méthodes publiques

Méthode Description
Capability ( string name, System.Version version ) : System
CompareTo ( object other ) : int

Compares capabilities based on name, then version

Equals ( object obj ) : bool

Checks that capabilitiees with the same name and version are the same

GetHashCode ( ) : int

Method Details

Capability() public méthode

public Capability ( string name, System.Version version ) : System
name string
version System.Version
Résultat System

CompareTo() public méthode

Compares capabilities based on name, then version
public CompareTo ( object other ) : int
other object
Résultat int

Equals() public méthode

Checks that capabilitiees with the same name and version are the same
public Equals ( object obj ) : bool
obj object The object being compared
Résultat bool

GetHashCode() public méthode

public GetHashCode ( ) : int
Résultat int