C# Class Mycroft.App.Capability

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

Public Methods

Method 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 method

public Capability ( string name, System.Version version ) : System
name string
version System.Version
return System

CompareTo() public method

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

Equals() public method

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

GetHashCode() public method

public GetHashCode ( ) : int
return int