using Kit.Helpers.Log;

namespace Kit.Helpers.Repository
{
    public interface ISelectContext
    {
        IDictionary<object, object?> Items { get; }
        ICallStackLog CallStackLog { get; set; }
    }

    public class SelectContext : ISelectContext
    {
        public SelectContext()
        {
            Items = new Dictionary<object, object?>();
            CallStackLog = Log.CallStackLog.Empty;
        }

        public IDictionary<object, object?> Items { get; }
        public ICallStackLog CallStackLog { get; set; }
    }
}
