コード例 #1
0
 public ImportApp(IZoneMapper zoneMapper, IServerPaths serverPaths, IEnvironmentLogger envLogger, ZipImport zipImport, IGlobalConfiguration globalConfiguration) : base("Bck.Export")
 {
     _zoneMapper          = zoneMapper;
     _serverPaths         = serverPaths;
     _envLogger           = envLogger;
     _zipImport           = zipImport;
     _globalConfiguration = globalConfiguration;
 }
コード例 #2
0
        public ViewsExportImport(IServerPaths serverPaths,
                                 TemplateHelpers appHelpers,
                                 IEnvironmentLogger envLogger,
                                 Lazy <CmsManager> cmsManagerLazy,
                                 Lazy <JsonBundleSerializer> jsonBundleLazy,
                                 IContextOfSite context) : base("Bck.Views")
        {
            _serverPaths    = serverPaths;
            _appHelpers     = appHelpers;
            _envLogger      = envLogger;
            _cmsManagerLazy = cmsManagerLazy;
            _jsonBundleLazy = jsonBundleLazy;

            _site = context.Site;
            _user = context.User;
        }
コード例 #3
0
 public ImportContent(IZoneMapper zoneMapper,
                      IServerPaths serverPaths,
                      IEnvironmentLogger envLogger,
                      Lazy <Import> importerLazy,
                      Lazy <XmlImportWithFiles> xmlImportWithFilesLazy,
                      ZipImport zipImport,
                      Lazy <JsonSerializer> jsonSerializerLazy,
                      IGlobalConfiguration globalConfiguration) : base("Bck.Export")
 {
     _zoneMapper             = zoneMapper;
     _serverPaths            = serverPaths;
     _envLogger              = envLogger;
     _importerLazy           = importerLazy;
     _xmlImportWithFilesLazy = xmlImportWithFilesLazy;
     _zipImport              = zipImport;
     _jsonSerializerLazy     = jsonSerializerLazy;
     _globalConfiguration    = globalConfiguration;
 }
コード例 #4
0
ファイル: ImportFromRemote.cs プロジェクト: valadas/2sxc
 public ImportFromRemote(IEnvironmentLogger envLogger, ZipFromUrlImport zipImportFromUrl) : base("Bck.Export")
 {
     _envLogger        = envLogger;
     _zipImportFromUrl = zipImportFromUrl;
 }
コード例 #5
0
 public RenderingHelper(ILinkPaths linkPaths, IEnvironmentLogger errorLogger) : base("Sxc.RndHlp")
 {
     _linkPaths   = linkPaths;
     _errorLogger = errorLogger;
 }