示例#1
0
 /// <summary>
 /// Returns a <see cref="Boolean"/> value which indicates whether the given type
 /// has been registered to the service locator.
 /// </summary>
 /// <typeparam name="T">The type to check.</typeparam>
 /// <returns>True if the type has been registered, otherwise, false.</returns>
 public bool Registered <T>()
 {
     return(objectContainer.Registered <T>());
 }