Browse Source

Simplified virtual file set adding for embedded files sets.

pull/179/head
Halil İbrahim Kalkan 9 years ago
parent
commit
441233fc07
  1. 12
      src/AbpDesk/AbpDesk.MongoBlog/AbpDesk/Blogging/AbpDeskMongoBlogModule.cs
  2. 20
      src/Volo.Abp.Account.Web/AbpAccountWebModule.cs
  3. 12
      src/Volo.Abp.AspNetCore.Mvc.UI.Bootstrap/AbpAspNetCoreMvcUiBootstrapModule.cs
  4. 12
      src/Volo.Abp.AspNetCore.Mvc.UI/AbpAspNetCoreMvcUiModule.cs
  5. 20
      src/Volo.Abp.Identity.Web/AbpIdentityWebModule.cs

12
src/AbpDesk/AbpDesk.MongoBlog/AbpDesk/Blogging/AbpDeskMongoBlogModule.cs

@ -28,17 +28,9 @@ namespace AbpDesk.Blogging
{
options.FileSets.Add(
new EmbeddedFileSet(
"/Areas/",
"/",
GetType().Assembly,
"Areas"
)
);
options.FileSets.Add(
new EmbeddedFileSet(
"/wwwroot/",
GetType().Assembly,
"wwwroot" //TODO: This is not tested yet!
"" //TODO: This is not tested yet!
)
);
});

20
src/Volo.Abp.Account.Web/AbpAccountWebModule.cs

@ -21,25 +21,9 @@ namespace Volo.Abp.Account.Web
{
options.FileSets.Add(
new EmbeddedFileSet(
"/Areas/",
"/",
GetType().GetTypeInfo().Assembly,
"Volo.Abp.Account.Web.Areas"
)
);
options.FileSets.Add(
new EmbeddedFileSet(
"/Pages/",
GetType().GetTypeInfo().Assembly,
"Volo.Abp.Account.Web.Pages"
)
);
options.FileSets.Add(
new EmbeddedFileSet(
"/wwwroot/",
GetType().GetTypeInfo().Assembly,
"Volo.Abp.Account.Web.wwwroot"
"Volo.Abp.Account.Web"
)
);
});

12
src/Volo.Abp.AspNetCore.Mvc.UI.Bootstrap/AbpAspNetCoreMvcUiBootstrapModule.cs

@ -19,17 +19,9 @@ namespace Volo.Abp.AspNetCore.Mvc.UI.Bootstrap
{
options.FileSets.Add(
new EmbeddedFileSet(
"/wwwroot/",
"/",
GetType().GetTypeInfo().Assembly,
"Volo.Abp.AspNetCore.Mvc.UI.Bootstrap.wwwroot"
)
);
options.FileSets.Add(
new EmbeddedFileSet(
"/Views/",
GetType().GetTypeInfo().Assembly,
"Volo.Abp.AspNetCore.Mvc.UI.Bootstrap.Views"
"Volo.Abp.AspNetCore.Mvc.UI.Bootstrap"
)
);
});

12
src/Volo.Abp.AspNetCore.Mvc.UI/AbpAspNetCoreMvcUiModule.cs

@ -19,17 +19,9 @@ namespace Volo.Abp.AspNetCore.Mvc
{
options.FileSets.Add(
new EmbeddedFileSet(
"/Views/",
"/",
GetType().GetTypeInfo().Assembly,
"Volo.Abp.AspNetCore.Mvc.Views"
)
);
options.FileSets.Add(
new EmbeddedFileSet(
"/wwwroot/",
GetType().GetTypeInfo().Assembly,
"Volo.Abp.AspNetCore.Mvc.wwwroot"
"Volo.Abp.AspNetCore.Mvc"
)
);
});

20
src/Volo.Abp.Identity.Web/AbpIdentityWebModule.cs

@ -27,25 +27,9 @@ namespace Volo.Abp.Identity.Web
{
options.FileSets.Add(
new EmbeddedFileSet(
"/Pages/",
"/",
GetType().Assembly,
"Volo.Abp.Identity.Web.Pages"
)
);
options.FileSets.Add(
new EmbeddedFileSet(
"/Areas/",
GetType().Assembly,
"Volo.Abp.Identity.Web.Areas"
)
);
options.FileSets.Add(
new EmbeddedFileSet(
"/wwwroot/",
GetType().Assembly,
"Volo.Abp.Identity.Web.wwwroot"
"Volo.Abp.Identity.Web"
)
);
});

Loading…
Cancel
Save