// Copyright (c) Dr. Dirk Lellinger. All rights reserved. // Licensed under the MIT license. See LICENSE file in the project root for full license information. using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace SlobViewer.Slob { /// /// Stores a key of the together with the position of where to found the content belonging to that key. /// public class Reference { /// /// Gets the dictionary key. /// public string Key { get; } public string Fragment { get; } /// /// Gets the index into the array of s. /// public uint BinIndex { get; } /// /// Gets the index of the element in the . /// public ushort ItemIndex { get; } /// /// Initializes a new instance of the class. /// /// The key. /// Index of the store item to find the content in. /// Index of the element inside the store item. /// The fragment. public Reference(string key, uint binIndex, ushort itemIndex, string fragment) { Key = key; BinIndex = binIndex; ItemIndex = itemIndex; Fragment = fragment; } } }