// MatchingSearchResult.cs
// Copyright (c) 2016 Bentley Systems, Incorporated. All Rights Reserved.

using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace Haestad.Framework.UI.Integration
{
    /// <summary>
    /// A class that represents a search result match in the Ribbon Search feature.
    /// </summary>
    internal class MatchingSearchResult
    {
        #region Constructor
        public MatchingSearchResult(IRibbonUICommand ribbonUICommand, int relativeRank)
        {
            RibbonUICommand = ribbonUICommand;
            RelativeRank = relativeRank;
        }
        #endregion

        #region Public Properties
        public IRibbonUICommand RibbonUICommand
        {
            get;
            private set;
        }

        public int RelativeRank
        {
            get;
            private set;
        }
        #endregion
    }
}
