using Knoks.Core.Entities.Interfaces;
using Newtonsoft.Json;
using Newtonsoft.Json.Serialization;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;

namespace Knoks.Api.Entities
{
    [JsonDictionary(
            NamingStrategyType = typeof(DictionaryCamelCaseNamingStrategy),
            NamingStrategyParameters = new object[] { true, false })]
    public class ApiDictionary<T>: Dictionary<string, T>, IApiResult
    {
        //public IDictionary<string, T> Values { get; set; }

        public ApiDictionary(IDictionary<string, T> values): base(values)
        {
            //Values = values;
        }
    }
}
