Exemplo n.º 1
0
 public bool IsConfigured(Type dbContextType)
 {
     return(ConfigureActions.ContainsKey(dbContextType));
 }
 /// <summary>
 ///     Registers a new post-deployment action for instances of the current service.
 /// </summary>
 /// <param name="action">An action to perform following the deployment of this service.</param>
 /// <returns>The current service manager.</returns>
 public IServiceManager RegisterConfigureAction(IServiceAction action)
 {
     ConfigureActions.Add(action.Run);
     return(this);
 }