示例#1
0
 public MiniWebPageController(IMiniWebSite website)
 {
     _webSite = website;
     if (!_webSite.Pages.Any())
     {
         _webSite.ReloadPages();
     }
 }
		public MiniWebPageController(IMiniWebSite website)
		{
			_webSite = website;
			if (!_webSite.Pages.Any())
			{
				_webSite.ReloadPages();
				_webSite.ReloadAssets();
			}
		}
示例#3
0
 public MiniWebAdminTagHelper(IMiniWebSite webSite, IHtmlHelper helper)
 {
     _webSite    = webSite;
     _htmlHelper = helper;
 }
示例#4
0
 public MiniWebPropTagHelper(IMiniWebSite webSite)
 {
     _webSite = webSite;
 }
 public MiniWebAdminTagHelper(IMiniWebSite webSite, IHtmlHelper helper)
 {
     _webSite = webSite;
     _htmlHelper = helper;
 }
示例#6
0
 public MiniWebAdminMiddleware(RequestDelegate next, IMiniWebSite miniWeb)
 {
     _miniWebSite = miniWeb;
     _next        = next;
     _provider    = new EmbeddedFileProvider(this.GetType().GetTypeInfo().Assembly, this.GetType().Namespace);
 }
 public MiniWebPropTagHelper(IMiniWebSite webSite)
 {
     _webSite = webSite;
 }
 public MiniWebApiController(IMiniWebSite website)
 {
     _webSite = website;
 }
		public MiniWebAdminMiddleware(RequestDelegate next, IMiniWebSite miniWeb)
		{
			_miniWebSite = miniWeb;
			_next = next;
			_provider = new EmbeddedFileProvider(this.GetType().GetTypeInfo().Assembly, this.GetType().Namespace);
		}
 public MiniWebTemplateTagHelper(IMiniWebSite webSite)
 {
     _webSite = webSite;
 }
		public MiniWebMenuTagHelper(IMiniWebSite webSite)
		{
			_webSite = webSite;
		}
 public MiniWebApiController(IMiniWebSite website)
 {
     _webSite = website;
 }