public int CompareTo(IListBoxItem other) { LightResource light = other as LightResource; if (light != null) { return(CompareTo(light)); } return(0); }
public int CompareTo(LightResource other) { return Name.CompareTo(other.Name); }
public int CompareTo(LightResource other) { return(Name.CompareTo(other.Name)); }