using JetBrains.Annotations; namespace Robust.Shared.IoC; /// /// Extension methods for . /// public static class DependencyCollectionExt { /// /// Register a type as both implementation and interface. /// This is equivalent to calling with both type args set to . /// /// The dependency collection to register into. public static void Register<[MeansImplicitUse] T>(this IDependencyCollection deps) where T : class { deps.Register(); } }