From ab34dc7dca7d0e0e1e5321acecf5f6a60e2cb424 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Halil=20=C4=B0brahim=20Kalkan?= Date: Wed, 22 Nov 2017 14:28:11 +0300 Subject: [PATCH] Use GetType().Assembly instead of GetType().GetTypeInfo().Assembly. --- src/Volo.Abp.Account.Web/AbpAccountWebModule.cs | 2 +- .../AbpAspNetCoreMvcUiBootstrapModule.cs | 2 +- src/Volo.Abp.AspNetCore.Mvc.UI/AbpAspNetCoreMvcUiModule.cs | 2 +- .../Volo/Abp/VirtualFileSystem/EmbeddedFileManager_Tests.cs | 2 +- 4 files changed, 4 insertions(+), 4 deletions(-) diff --git a/src/Volo.Abp.Account.Web/AbpAccountWebModule.cs b/src/Volo.Abp.Account.Web/AbpAccountWebModule.cs index 790b695e28..7bf5db493e 100644 --- a/src/Volo.Abp.Account.Web/AbpAccountWebModule.cs +++ b/src/Volo.Abp.Account.Web/AbpAccountWebModule.cs @@ -22,7 +22,7 @@ namespace Volo.Abp.Account.Web options.FileSets.Add( new EmbeddedFileSet( "/", - GetType().GetTypeInfo().Assembly, + GetType().Assembly, "Volo.Abp.Account.Web" ) ); diff --git a/src/Volo.Abp.AspNetCore.Mvc.UI.Bootstrap/AbpAspNetCoreMvcUiBootstrapModule.cs b/src/Volo.Abp.AspNetCore.Mvc.UI.Bootstrap/AbpAspNetCoreMvcUiBootstrapModule.cs index 501090e727..34ff1c562e 100644 --- a/src/Volo.Abp.AspNetCore.Mvc.UI.Bootstrap/AbpAspNetCoreMvcUiBootstrapModule.cs +++ b/src/Volo.Abp.AspNetCore.Mvc.UI.Bootstrap/AbpAspNetCoreMvcUiBootstrapModule.cs @@ -20,7 +20,7 @@ namespace Volo.Abp.AspNetCore.Mvc.UI.Bootstrap options.FileSets.Add( new EmbeddedFileSet( "/", - GetType().GetTypeInfo().Assembly, + GetType().Assembly, "Volo.Abp.AspNetCore.Mvc.UI.Bootstrap" ) ); diff --git a/src/Volo.Abp.AspNetCore.Mvc.UI/AbpAspNetCoreMvcUiModule.cs b/src/Volo.Abp.AspNetCore.Mvc.UI/AbpAspNetCoreMvcUiModule.cs index eec4107a5b..6832714944 100644 --- a/src/Volo.Abp.AspNetCore.Mvc.UI/AbpAspNetCoreMvcUiModule.cs +++ b/src/Volo.Abp.AspNetCore.Mvc.UI/AbpAspNetCoreMvcUiModule.cs @@ -20,7 +20,7 @@ namespace Volo.Abp.AspNetCore.Mvc options.FileSets.Add( new EmbeddedFileSet( "/", - GetType().GetTypeInfo().Assembly, + GetType().Assembly, "Volo.Abp.AspNetCore.Mvc" ) ); diff --git a/test/Volo.Abp.VirtualFileSystem.Tests/Volo/Abp/VirtualFileSystem/EmbeddedFileManager_Tests.cs b/test/Volo.Abp.VirtualFileSystem.Tests/Volo/Abp/VirtualFileSystem/EmbeddedFileManager_Tests.cs index bd630b6e10..b59fb510a0 100644 --- a/test/Volo.Abp.VirtualFileSystem.Tests/Volo/Abp/VirtualFileSystem/EmbeddedFileManager_Tests.cs +++ b/test/Volo.Abp.VirtualFileSystem.Tests/Volo/Abp/VirtualFileSystem/EmbeddedFileManager_Tests.cs @@ -45,7 +45,7 @@ namespace Volo.Abp.VirtualFileSystem options.FileSets.Add( new EmbeddedFileSet( "/MyApp/MyResources/", - GetType().GetTypeInfo().Assembly, + GetType().Assembly, "Volo.Abp.VirtualFileSystem.MyResources" ) );