﻿using System.Collections.ObjectModel;
using Realm.Library.Common;
using Realm.Library.Controls;

namespace Realm.Edit.Editor
{
    public class EditorBrowseInfoCollection : KeyedCollection<long, IBrowseInfo>
    {
        protected override long GetKeyForItem(IBrowseInfo value)
        {
            Validation.IsNotNull(value, "value");

            return value.Id;
        }
    }
}
