/// <summary> /// Compares to. Bases it on the HLInkKey for want of anything else that makes sense. /// </summary> /// <param name="obj"> /// The object. /// </param> /// <returns> /// </returns> public new int CompareTo(object obj) { HLinkAdressModel arg = obj as HLinkAdressModel; // Null objects go first if (arg is null) { return(1); } // Can only comapre if they are the same type so assume equal if (arg.GetType() != typeof(HLinkAdressModel)) { return(0); } return(DeRef.CompareTo(arg.DeRef)); }
/// <summary> /// No detail page to navigate to, just open the URL externally. /// </summary> public override async Task UCNavigate() { await DeRef.OpenURL(); return; }