Exemplo n.º 1
0
 public PostsModel(ILogger <AdminModel> logger, IAuthService authService, ITextMapService textMapServic, IBlogService blogService,
                   IMemoryCache cache)
     : base(logger, authService, textMapServic)
 {
     _blogService = blogService;
     _cache       = cache;
 }
Exemplo n.º 2
0
 public ContactModel(ILogger <ContactModel> logger, IAuthService authService, ITextMapService textMapService,
                     ISettings settings, ISmtpService smtpService)
     : base(logger, authService, textMapService)
 {
     _settings    = settings;
     _smtpService = smtpService;
 }
Exemplo n.º 3
0
 public AdminModel(ILogger <AdminModel> logger, IAuthService authService, ITextMapService textMapService,
                   IBlogService blogService, ISerializationService serializationService)
     : base(logger, authService, textMapService)
 {
     _blogService          = blogService;
     _serializationService = serializationService;
 }
Exemplo n.º 4
0
        public static ICollection <PostInfoEntry> SetFrontEndTexts(this ITextMapService t, ICollection <PostInfoEntry> entries, string context, string textClickToReadFullArticle, string textReadFullArticle, string textOpenArticleInNewWindow)
        {
            if (entries != null)
            {
                foreach (var entry in entries)
                {
                    entry.TextClickToReadFullArticle = t.GetMap(textClickToReadFullArticle, context);
                    entry.TextOpenArticleInNewWindow = t.GetMap(textOpenArticleInNewWindow, context);
                    entry.TextReadFullArticle        = t.GetMap(textOpenArticleInNewWindow, context);
                }
            }

            return(entries);
        }
Exemplo n.º 5
0
 public ProductsModel(ILogger <ProductsModel> logger, IAuthService authService, ITextMapService textMapService,
                      ISettings settings)
     : base(logger, authService, textMapService)
 {
     _settings = settings;
 }
Exemplo n.º 6
0
 public AlbumsModel(ILogger <AlbumsModel> logger, IAlbumService albumService,
                    IAuthService authService, ITextMapService textMapService)
     : base(logger, authService, textMapService)
 {
     _albumService = albumService;
 }
Exemplo n.º 7
0
 public LoginModel(ILogger <LoginModel> logger, IAuthService authService, ITextMapService textMapService)
     : base(logger, authService, textMapService)
 {
 }
Exemplo n.º 8
0
 public IndexModel(ILogger <IndexModel> logger, IAuthService authService, ITextMapService textMapService,
                   IBlogService blogService)
     : base(logger, authService, textMapService)
 {
     _blogService = blogService;
 }
Exemplo n.º 9
0
 public SiteInfoService(ITextMapService textMapService, ISettings settings)
 {
     _textMapService = textMapService;
     _settings       = settings;
 }
Exemplo n.º 10
0
 public GalleryPageModelBase(ILogger <T> logger, IAuthService authService,
                             ITextMapService textMapServic)
     : base(authService, textMapServic)
 {
     Logger = logger;
 }
Exemplo n.º 11
0
 public SiteInfoService(ISettings settings, ITextMapService textMapService)
 {
     _settings       = settings;
     _textMapService = textMapService;
 }
Exemplo n.º 12
0
 public ContactModel(ILogger <ContactModel> logger, IAuthService authService, ITextMapService textMapServic)
     : base(logger, authService, textMapServic)
 {
 }