public HLinkBackLink(HLinkSourceModel ArgHLinkLink) { _HLinkSourceModel = ArgHLinkLink; HLinkKey = ArgHLinkLink.HLinkKey; HLinkType = HLinkBackLinkEnum.HLinkSourceModel; }
/// <summary> /// Compares to. /// </summary> /// <param name="ArgHlinkSM"> /// The object. /// </param> /// <returns> /// </returns> public int CompareTo(HLinkSourceModel ArgHlinkSM) { if (ArgHlinkSM == null) { return(1); } SourceModel secondSource = ArgHlinkSM.DeRef; // compare on Page first TODO compare on Page? int testFlag = string.Compare(GSTitle, secondSource.GSTitle, StringComparison.CurrentCulture); return(testFlag); }
/// <summary> /// Compares to. /// </summary> /// <param name="argOobj"> /// The object. /// </param> /// <returns> /// </returns> public int CompareTo(HLinkSourceModel argOobj) => DeRef.CompareTo(argOobj);