﻿using AppKit.Core.Logging.Logs;
using AppKit.Core.Security.FeatureBasedSecurity.Getters;
using AppKit.Core.Timing.Getters;
using AppKit.Core.Transactions;
using Microsoft.Practices.Unity;

namespace AppKit.Core.WcfConfiguration
{
    public class WcfTestConfigurator : WcfBaseConfigurator
    {
        protected override void UnityConfigure(IUnityContainer container)
        {
            container
                .RegisterType<ITimingGetter, TestTimingGetter>()
                .RegisterType<IUserGetter, TestUserGetter>()
                .RegisterType<ILog, EmptyLog>()
                .RegisterType<ITransaction, EmptyTransaction>()
                ;
        }
    }
}
