using System; using System.Collections.Generic; using System.Runtime.CompilerServices; using Microsoft.AspNet.DependencyInjection; using Microsoft.AspNet.DependencyInjection.Fallback; namespace Microsoft.AspNet.Identity.Test { public static class TestServices { public static IEnumerable DefaultServices() where TUser : class { var describer = new ServiceDescriber(); yield return describer.Transient(); yield return describer.Transient, UserValidator>(); yield return describer.Transient(); yield return describer.Transient, ClaimsIdentityFactory>(); yield return describer.Transient, NoopUserStore>(); } } }