using System;
using System.Collections.Generic;
using Microsoft.Extensions.DependencyInjection;
namespace WalkingTec.Mvvm.Core
{
///
/// GlobalServices
///
//public static class GlobalServices
//{
// private static IServiceProvider _serviceProvider = null;
// ///
// /// IocContainer
// ///
// public static IServiceProvider ServiceProvider => _serviceProvider;
// ///
// /// SetServiceProvider
// ///
// ///
// public static void SetServiceProvider(IServiceProvider container) { _serviceProvider = container; }
// #region GetServicce
// ///
// /// GetService
// ///
// ///
// ///
// public static T GetService() where T : class => ServiceProvider?.GetService();
// ///
// /// GetService
// ///
// ///
// ///
// public static object GetService(Type type) => ServiceProvider?.GetService(type);
// ///
// /// GetServices
// ///
// ///
// ///
// public static IEnumerable GetServices() where T : class => ServiceProvider?.GetServices();
// ///
// /// GetServices
// ///
// ///
// ///
// public static IEnumerable