public WebSiteTextTemplateEngine(Guid?verticalId, string mimeType, string text, MergeSettings settings, WebSite webSite, IWebSiteQuery webSiteQuery, ITinyUrlCommand tinyUrlCommand) : base(verticalId, mimeType, text, settings) { _webSite = webSite; _webSiteQuery = webSiteQuery; _tinyUrlCommand = tinyUrlCommand; }
public static void TestInitialize() { _webSiteQuery = Container.Current.Resolve <IWebSiteQuery>(); Container.Current.Resolve <ITinyUrlQuery>(); _rootPath = _webSiteQuery.GetUrl((int)WebSite.LinkMe, null, false, "~/").AbsoluteUri.ToLower(); MockEmailTestExtensions.RootPath = _rootPath; }
public TinyUrlMappings(IWebSiteQuery webSiteQuery, Guid contextId, string definition, string mimeType, WebSite webSite, Guid?userId, Guid?verticalId) { _contextId = contextId; _definition = definition; _mimeType = mimeType; _webSiteQuery = webSiteQuery; _webSite = webSite; _userId = userId; _verticalId = verticalId; }
public VerticalsController(IVerticalsCommand verticalsCommand, IVerticalsQuery verticalsQuery, ICommunitiesQuery communitiesQuery, IWebSiteQuery webSiteQuery, IMembersQuery membersQuery, ICandidatesQuery candidatesQuery, IResumesQuery resumesQuery, IMemberAccountsCommand memberAccountsCommand, IAccountVerificationsCommand accountVerificationsCommand) { _verticalsCommand = verticalsCommand; _verticalsQuery = verticalsQuery; _communitiesQuery = communitiesQuery; _webSiteQuery = webSiteQuery; _membersQuery = membersQuery; _candidatesQuery = candidatesQuery; _resumesQuery = resumesQuery; _memberAccountsCommand = memberAccountsCommand; _accountVerificationsCommand = accountVerificationsCommand; }
public static TinyUrlMapping Map(this TinyUrlMappingEntity entity, IWebSiteQuery webSiteQuery) { var webSite = (WebSite)entity.webSite; var verticalId = entity.verticalId == Guid.Empty ? (Guid?)null : entity.verticalId; return(new TinyUrlMapping { CreatedTime = entity.createdTime, TinyId = entity.tinyId, WebSite = webSite, UserId = entity.userId, VerticalId = verticalId, LongUrl = webSiteQuery.GetUrl(webSite, verticalId, entity.secure, entity.longUrl), ContextId = entity.contextId, Definition = entity.definition, MimeType = entity.mimeType, Instance = entity.instance }); }
public WebSiteTemplateEngine(IContentEngine contentEngine, IWebSiteQuery webSiteQuery, ITinyUrlCommand tinyUrlCommand) : base(contentEngine) { _webSiteQuery = webSiteQuery; _tinyUrlCommand = tinyUrlCommand; }
public ApplicationsRepository(IDbConnectionFactory connectionFactory, IWebSiteQuery webSiteQuery) { _connectionFactory = connectionFactory; _webSiteQuery = webSiteQuery; }
public JobAdPosterTask(IChannelManager <ISyndicate> channelManager, IHrCareersQuery hrCareersQuery, ILocationQuery locationQuery, IExecuteJobAdSearchCommand jobAdSearch, IIntegrationQuery integrationQuery, IJobAdIntegrationReportsCommand jobAdIntegrationReportsCommand, IWebSiteQuery webSiteQuery, IJobAdsQuery jobAdsQuery) : base(Logger) { _serviceManager = channelManager; _jobAdsQuery = jobAdsQuery; _integrationQuery = integrationQuery; _jobAdIntegrationReportsCommand = jobAdIntegrationReportsCommand; _integratorUser = hrCareersQuery.GetIntegratorUser(); _searcher = new HrJobAdSearcher(jobAdSearch); _mapper = new JobAdMapper(locationQuery, webSiteQuery); }
public JobAdMapper(ILocationQuery locationQuery, IWebSiteQuery webSiteQuery) { _locationMapper = new LocationMapper(locationQuery); _webSiteQuery = webSiteQuery; }
public ManagementTemplateEngine(IWebSiteQuery webSiteQuery, int timeout) { _webSiteQuery = webSiteQuery; _timeout = timeout; }