public int CompareTo(ImportStage <TStage> other) { if (this.Equals(other)) { return(0); } return((this.Stage.ToInt32(CultureInfo.CurrentCulture) > other.Stage.ToInt32(CultureInfo.CurrentCulture)) ? 1 : -1); }
public bool Equals(ImportStage <TStage> other) { return(this.Stage.Equals(other.Stage)); }