Terraria v1.4.4.9
Terraria source code documentation
Loading...
Searching...
No Matches
XnaExtensions.cs
Go to the documentation of this file.
1using System;
2
3namespace ReLogic.Utilities;
4
5public static class XnaExtensions
6{
7 public static T Get<T>(this IServiceProvider services) where T : class
8 {
9 return services.GetService(typeof(T)) as T;
10 }
11}
static T Get< T >(this IServiceProvider services)