using System;
using System.IO;
using System.Reflection;
using Interfaces;

namespace RaceLapTimer
{
    public class PluginPathProvider : IPluginPathProvider
    {
        public string GetPluginPath
        {
            get
            {
                return new Uri(Path.Combine(Path.GetDirectoryName(Assembly.GetEntryAssembly().CodeBase), "plugins")).LocalPath;
            }
        }
    }
}