示例#1
0
 /// <summary>
 /// Checks whether the given service type has a registration. Optionally checks whether a primary (i.e. non-decorator) is present.
 /// </summary>
 public bool HasService <TService>(bool checkForPrimary = false)
 {
     return(Registrar.HasService <TService>(checkForPrimary));
 }