/// <summary> /// Applies a handler policy to all known message handlers /// </summary> /// <param name="policy"></param> public void GlobalPolicy(IRoutePolicy policy) { _policies.Add(policy); }
public RouteSettings UsePolicy(IRoutePolicy policy) { _policies.Add(policy); return(this); }
public RouteDomainService(IRouteRepository repository, IRoutePolicy policy, IRouteValidationService validationService, ILeadRepository leadRepository, IImageUrlService imageUrlService) : base(repository, policy, validationService) { LeadRepository = leadRepository; ImageUrlService = imageUrlService; }