Loading files
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace IDE.Core.Common.Extensions
{
public static class ServiceProviderExtensions
{
public static T GetService<T>(this IServiceProvider serviceProvider)
{
return (T)serviceProvider.GetService(typeof(T));
}
}
}
366e28f22This file is pinned to the selected release. Download the original to open it in your design tool.