﻿using Autofac;
using Cocoa.Infrastructure;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace Cocoa.Apps
{
    public class AutofacModule:Module
    {
        protected override void Load(ContainerBuilder builder)
        {
            //builder.RegisterType<SearchProvider>().As<ISearchProvider>();
            builder.RegisterType<MarkPad.ViewModels.ShellViewModel>().As<IAppShell>();
            builder.RegisterType<Sync.ViewModels.ShellViewModel>().As<IAppShell>();
        }
    }
}
