예제 #1
0
        public HLinkBackLink(HLinkSourceModel ArgHLinkLink)
        {
            _HLinkSourceModel = ArgHLinkLink;

            HLinkKey = ArgHLinkLink.HLinkKey;

            HLinkType = HLinkBackLinkEnum.HLinkSourceModel;
        }
예제 #2
0
        /// <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);
        }
예제 #3
0
 /// <summary>
 /// Compares to.
 /// </summary>
 /// <param name="argOobj">
 /// The object.
 /// </param>
 /// <returns>
 /// </returns>
 public int CompareTo(HLinkSourceModel argOobj) => DeRef.CompareTo(argOobj);