Beispiel #1
0
 /// <summary>
 /// Return whether there is an object that is registered for the requested type.
 /// </summary>
 /// <param name="type">The type to check for registration.</param>
 /// <returns>Whether the given type is registered</returns>
 public bool IsRegistered(Type type)
 {
     EnsureAlive();
     return(services.ContainsKey(type));
 }