﻿// Copyright (c) Narvalo.Org. All rights reserved. See LICENSE.txt in the project root for license information.

namespace Narvalo.Mvp.CommandLine
{
    using Narvalo.Mvp.Platforms;

    /// <summary>
    /// Provides a single entry point to configure Narvalo.Mvp.CommandLine.
    /// </summary>
    public sealed class MvpBootstrapper : MvpBootstrapper<MvpBootstrapper>, IMvpBootstrapper
    {
        public MvpBootstrapper() : base(PlatformServices.Default) { }

        public void InitializePlatform()
        {
            PlatformServices.Current = CreatePlatformServices();
        }
    }
}
