public UserController(IMemberService memberService, IAuthenticationService authenticationService, IUmbracoWrapper umbracoWrapper) { _memberService = memberService; _authenticationService = authenticationService; _umbracoWrapper = umbracoWrapper; }
public ImportFacebookVenueEventsController(IFacebookEventsService facebookEventsService, IEventImportService eventImportService, IUmbracoWrapper umbracoWrapper) { _facebookEventsService = facebookEventsService; _eventImportService = eventImportService; _umbracoWrapper = umbracoWrapper; }
public Sierra(IUmbracoWrapper umbraco, ITemplateService templateService, string connectionString) { _umbraco = umbraco; _templateService = templateService; _connection = new NpgsqlConnection(connectionString); Connect(); }
public ContentSearchService(IUmbracoWrapper umbracoWrapper, IExamineSearchProviderWrapper examineSearchProviderWrapper, IModelConverter modelConverter) { _umbracoWrapper = umbracoWrapper; _examineSearchProviderWrapper = examineSearchProviderWrapper; _modelConverter = modelConverter; }
public OrderItemPatronDataSurfaceController(IOrderItemManager orderItemManager, IPatronDataProvider patronDataProviderSierraCache, IPatronDataProvider patronDataProviderSierra, IUmbracoWrapper umbraco) { _orderItemManager = orderItemManager; _patronDataProviderSierraCache = patronDataProviderSierraCache; _patronDataProviderSierra = patronDataProviderSierra; _umbraco = umbraco; }
public OrderItemDeliverySurfaceController(IOrderItemManager orderItemManager, IUmbracoWrapper umbraco, ITemplateService templateService, IMailService mailService) { _orderItemManager = orderItemManager; _umbraco = umbraco; _templateService = templateService; _mailService = mailService; }
public OrderItemSurfaceController(IMemberInfoManager memberInfoManager, IOrderItemManager orderItemManager, INotifier notifier, IUmbracoWrapper umbraco) { _memberInfoManager = memberInfoManager; _orderItemManager = orderItemManager; _notifier = notifier; _umbraco = umbraco; }
public FeedController(IModelConverter modelConverter, IUmbracoWrapper umbracoWrapper, IEventSearchService eventSearchService) { _modelConverter = modelConverter; _umbracoWrapper = umbracoWrapper; _eventSearchService = eventSearchService; }
public UmbracoNavigationProvider( IModelConverter modelConverter, IUmbracoNodeService umbracoNodeService, IUmbracoWrapper umbracoWrapper, INodeTypeFactory nodeTypeFactory, int priority) : this(modelConverter, umbracoNodeService, umbracoWrapper, nodeTypeFactory, priority, typeof(SettingsNodeType)) { }
public LibrisOrderItemsSource(IUmbracoWrapper umbraco, IOrderItemManager orderItemManager, IPatronDataProvider patronDataProvider, IOrderItemSearcher orderItemSearcher) { _umbraco = umbraco; _orderItemManager = orderItemManager; _patronDataProvider = patronDataProvider; _orderItemSearcher = orderItemSearcher; }
public EventImportService(IUmbracoWrapper umbracoWrapper, ISmartTagService smartTagService, IDateTimeProvider dateTimeProvider) { _umbracoWrapper = umbracoWrapper; _smartTagService = smartTagService; _dateTimeProvider = dateTimeProvider; }
/// <summary> /// converts the passed umbraco content into a site media image /// </summary> private static MediaImageModel ConvertImage(IUmbracoWrapper umbracoWrapper, IPublishedContent image) { return(new MediaImageModel { Url = image.Url, Width = umbracoWrapper.GetPropertyValue <int>(image, "umbracoWidth"), Height = umbracoWrapper.GetPropertyValue <int>(image, "umbracoHeight") }); }
public OrderItemMailSurfaceController(IOrderItemManager orderItemManager, IExchangeMailWebApi exchangeMailWebApi, IUmbracoWrapper dataTypes, IMailService mailService, ITemplateService templateService) { _orderItemManager = orderItemManager; _exchangeMailWebApi = exchangeMailWebApi; _dataTypes = dataTypes; _mailService = mailService; _templateService = templateService; }
public FacebookEventsService(IFacebookApiCall <GetEventsConfiguration, GetEventsResponse> getEventsCall, IUmbracoWrapper umbracoWrapper, ILog log, IUmbracoImageRetriever umbracoImageRetriever) { _getEventsCall = getEventsCall; _umbracoWrapper = umbracoWrapper; _log = log; _umbracoImageRetriever = umbracoImageRetriever; }
public ChalmersSourceFactory(IExchangeMailWebApi exchangeMailWebApi, IOrderItemManager orderItemManager, INotifier notifier, IMediaItemManager mediaItemManager, IUmbracoWrapper umbraco, IPatronDataProvider patronDataProvider, IOrderItemSearcher orderItemSearcher) { _exchangeMailWebApi = exchangeMailWebApi; _orderItemManager = orderItemManager; _notifier = notifier; _mediaItemManager = mediaItemManager; _umbraco = umbraco; _patronDataProvider = patronDataProvider; _orderItemSearcher = orderItemSearcher; }
public UmbracoNavigationProvider( IModelConverter modelConverter, IUmbracoNodeService umbracoNodeService, IUmbracoWrapper umbracoWrapper, INodeTypeFactory nodeTypeFactory, int priority, Type rootNodeType) { _modelConverter = modelConverter; _umbracoNodeService = umbracoNodeService; _umbracoWrapper = umbracoWrapper; _nodeTypeFactory = nodeTypeFactory; Priority = priority; _rootNodeType = rootNodeType; }
public SystemSurfaceController(IOrderItemManager orderItemManager, INotifier notifier, IExchangeMailWebApi exchangeMailWebApi, IUmbracoWrapper dataTypes, ISourceFactory sourceFactory, IOrderItemSearcher orderItemsSearcher, IAutomaticMailSendingEngine automaticMailSendingEngine, IUmbracoWrapper umbraco) { _orderItemManager = orderItemManager; _notifier = notifier; _exchangeMailWebApi = exchangeMailWebApi; _dataTypes = dataTypes; _sourceFactory = sourceFactory; _orderItemsSearcher = orderItemsSearcher; _automaticMailSendingEngine = automaticMailSendingEngine; _umbraco = umbraco; }
public OrderItemReceiveBookSurfaceController( IUmbracoWrapper umbraco, IOrderItemManager orderItemManager, ITemplateService templateService, IMailService mailService, IFolioService folioService, IChillinTextRepository chillinTextRepository) { _orderItemManager = orderItemManager; _templateService = templateService; _mailService = mailService; _umbraco = umbraco; _folioService = folioService; _chillinTextRepository = chillinTextRepository; }
public CleanupEventsController(IEventSearchService eventSearchService, IContentService contentService, IMediaService mediaService, IDuplicatesService duplicatesService, ILog log, IUmbracoWrapper umbracoWrapper, IDateTimeProvider dateTimeProvider) { _eventSearchService = eventSearchService; _contentService = contentService; _mediaService = mediaService; _duplicatesService = duplicatesService; _log = log; _umbracoWrapper = umbracoWrapper; _dateTimeProvider = dateTimeProvider; }
/// <summary> /// converts the passed umbraco content into a site media file /// </summary> private static MediaFileModel ConvertFile(IUmbracoWrapper umbracoWrapper, IPublishedContent file) { var extension = umbracoWrapper.GetPropertyValue <string>(file, "umbracoExtension"); var umbracoBytes = umbracoWrapper.GetPropertyValue <double>(file, "umbracoBytes"); var size = Math.Round(umbracoBytes / 1000, 1); var unit = "KB"; var type = extension.ToUpper(); if (size > 1000) { size = Math.Round(size / 1000, 1); unit = "MB"; } return(new MediaFileModel { Url = file.Url, Extension = extension, Size = $"{size} {unit}" }); }
public LinkPickerAttribute() { _umbracoWrapper = DependencyResolver.Current.GetService <IUmbracoWrapper>(); }
public ContentPickerToUrlAttribute(IUmbracoWrapper umbracoWrapper) { _umbracoWrapper = umbracoWrapper; }
public ContentPickerToUrlAttribute() { _umbracoWrapper = DependencyResolver.Current.GetService <IUmbracoWrapper>(); }
public UmbracoNodeService(IUmbracoWrapper umbracoWrapper) { _umbracoWrapper = umbracoWrapper; }
public BaseService(IUmbracoWrapper umbracoWrapper) { UmbracoWrapper = umbracoWrapper; }
public OrderItemManager(IUmbracoWrapper umbraco) { _umbraco = umbraco; _rand = new Random(); }
public LinkPickerAttribute(IUmbracoWrapper umbracoWrapper) { _umbracoWrapper = umbracoWrapper; }
public MediaService( IUmbracoWrapper umbracoWrapper) { _umbracoWrapper = umbracoWrapper; }
public HomeNodeType(IUmbracoWrapper umbracoWrapper) { _umbracoWrapper = umbracoWrapper; }
public BaseRenderMvcController(IUmbracoWrapper umbracoHelper) : base(umbracoHelper.CurrentUmbracoContext()) { UmbracoWrapper = umbracoHelper; }
public CountriesAttribute(IUmbracoWrapper umbracoWrapper, IModelConverter modelConverter) { _umbracoWrapper = umbracoWrapper; _modelConverter = modelConverter; }
public CountriesAttribute() { _umbracoWrapper = DependencyResolver.Current.GetService <IUmbracoWrapper>(); _modelConverter = DependencyResolver.Current.GetService <IModelConverter>(); }