Browse Source

typo fix.

pull/6281/head
Ilkay Ilknur 6 years ago
parent
commit
5cce0bec0c
  1. 2
      framework/src/Volo.Abp.AspNetCore.Components.WebAssembly.BasicTheme/BasicThemeBundleContributor.cs
  2. 2
      framework/src/Volo.Abp.AspNetCore.Components.WebAssembly.Theming/ThemingBundleContributor.cs
  3. 2
      framework/src/Volo.Abp.AspNetCore.Components.WebAssembly/Volo/Abp/AspNetCore/Components/WebAssembly/ComponentsWebAssemblyBundleContributor.cs
  4. 2
      framework/src/Volo.Abp.BlazoriseUI/BlazoriseUIBundleContributor.cs
  5. 4
      framework/src/Volo.Abp.Cli.Core/Volo/Abp/Cli/Bundling/BundlingService.cs
  6. 9
      framework/src/Volo.Abp.Core/Volo/Abp/Bundling/BundleContext.cs
  7. 2
      framework/src/Volo.Abp.Core/Volo/Abp/Bundling/IBundleContributor.cs
  8. 2
      framework/src/Volo.Abp.Http.Client.IdentityModel.WebAssembly/Volo/Abp/Http/Client/IdentityModel/WebAssembly/IdentityModelWebAssemblyBundleContributor.cs
  9. 2
      templates/app/aspnet-core/src/MyCompanyName.MyProjectName.Blazor/MyProjectNameBundleContributor.cs

2
framework/src/Volo.Abp.AspNetCore.Components.WebAssembly.BasicTheme/BasicThemeBundleContributer.cs → framework/src/Volo.Abp.AspNetCore.Components.WebAssembly.BasicTheme/BasicThemeBundleContributor.cs

@ -2,7 +2,7 @@
namespace Volo.Abp.AspNetCore.Components.WebAssembly.BasicTheme namespace Volo.Abp.AspNetCore.Components.WebAssembly.BasicTheme
{ {
public class BasicThemeBundleContributer : IBundleContributer public class BasicThemeBundleContributor : IBundleContributor
{ {
public void AddScripts(BundleContext context) public void AddScripts(BundleContext context)
{ {

2
framework/src/Volo.Abp.AspNetCore.Components.WebAssembly.Theming/ThemingBundleContributer.cs → framework/src/Volo.Abp.AspNetCore.Components.WebAssembly.Theming/ThemingBundleContributor.cs

@ -2,7 +2,7 @@
namespace Volo.Abp.AspNetCore.Components.WebAssembly.Theming namespace Volo.Abp.AspNetCore.Components.WebAssembly.Theming
{ {
public class ThemingBundleContributer : IBundleContributer public class ThemingBundleContributor : IBundleContributor
{ {
public void AddScripts(BundleContext context) public void AddScripts(BundleContext context)
{ {

2
framework/src/Volo.Abp.AspNetCore.Components.WebAssembly/Volo/Abp/AspNetCore/Components/WebAssembly/ComponentsWebAssemblyBundleContributer.cs → framework/src/Volo.Abp.AspNetCore.Components.WebAssembly/Volo/Abp/AspNetCore/Components/WebAssembly/ComponentsWebAssemblyBundleContributor.cs

@ -2,7 +2,7 @@
namespace Volo.Abp.AspNetCore.Components.WebAssembly namespace Volo.Abp.AspNetCore.Components.WebAssembly
{ {
public class ComponentsWebAssemblyBundleContributer : IBundleContributer public class ComponentsWebAssemblyBundleContributor : IBundleContributor
{ {
public void AddScripts(BundleContext context) public void AddScripts(BundleContext context)
{ {

2
framework/src/Volo.Abp.BlazoriseUI/BlazoriseUIBundleContributer.cs → framework/src/Volo.Abp.BlazoriseUI/BlazoriseUIBundleContributor.cs

@ -2,7 +2,7 @@
namespace Volo.Abp.BlazoriseUI namespace Volo.Abp.BlazoriseUI
{ {
public class BlazoriseUIBundleContributer : IBundleContributer public class BlazoriseUIBundleContributor : IBundleContributor
{ {
public void AddScripts(BundleContext context) public void AddScripts(BundleContext context)
{ {

4
framework/src/Volo.Abp.Cli.Core/Volo/Abp/Cli/Bundling/BundlingService.cs

@ -161,9 +161,9 @@ namespace Volo.Abp.Cli.Bundling
return builder.ToString(); return builder.ToString();
} }
private IBundleContributer CreateContributerInstance(Type bundleContributerType) private IBundleContributor CreateContributerInstance(Type bundleContributerType)
{ {
return (IBundleContributer) Activator.CreateInstance(bundleContributerType); return (IBundleContributor)Activator.CreateInstance(bundleContributerType);
} }
private void FindBundleContributersRecursively( private void FindBundleContributersRecursively(

9
framework/src/Volo.Abp.Core/Volo/Abp/Bundling/BundleContext.cs

@ -1,5 +1,4 @@
using System; using System.Collections.Generic;
using System.Collections.Generic;
namespace Volo.Abp.Bundling namespace Volo.Abp.Bundling
{ {
@ -17,9 +16,13 @@ namespace Volo.Abp.Bundling
var bundleDefinition = new BundleDefinition var bundleDefinition = new BundleDefinition
{ {
Source = source, Source = source,
AdditionalProperties = additionalProperties
}; };
if (additionalProperties != null)
{
bundleDefinition.AdditionalProperties = additionalProperties;
}
BundleDefinitions.AddIfNotContains((item) => item.Source == bundleDefinition.Source, () => bundleDefinition); BundleDefinitions.AddIfNotContains((item) => item.Source == bundleDefinition.Source, () => bundleDefinition);
} }
} }

2
framework/src/Volo.Abp.Core/Volo/Abp/Bundling/IBundleContributer.cs → framework/src/Volo.Abp.Core/Volo/Abp/Bundling/IBundleContributor.cs

@ -1,6 +1,6 @@
namespace Volo.Abp.Bundling namespace Volo.Abp.Bundling
{ {
public interface IBundleContributer public interface IBundleContributor
{ {
void AddScripts(BundleContext context); void AddScripts(BundleContext context);
void AddStyles(BundleContext context); void AddStyles(BundleContext context);

2
framework/src/Volo.Abp.Http.Client.IdentityModel.WebAssembly/Volo/Abp/Http/Client/IdentityModel/WebAssembly/IdentityModelWebAssemblyBundleContributer.cs → framework/src/Volo.Abp.Http.Client.IdentityModel.WebAssembly/Volo/Abp/Http/Client/IdentityModel/WebAssembly/IdentityModelWebAssemblyBundleContributor.cs

@ -2,7 +2,7 @@
namespace Volo.Abp.Http.Client.IdentityModel.WebAssembly namespace Volo.Abp.Http.Client.IdentityModel.WebAssembly
{ {
public class IdentityModelWebAssemblyBundleContributer : IBundleContributer public class IdentityModelWebAssemblyBundleContributor : IBundleContributor
{ {
public void AddScripts(BundleContext context) public void AddScripts(BundleContext context)
{ {

2
templates/app/aspnet-core/src/MyCompanyName.MyProjectName.Blazor/MyProjectNameBundleContributer.cs → templates/app/aspnet-core/src/MyCompanyName.MyProjectName.Blazor/MyProjectNameBundleContributor.cs

@ -2,7 +2,7 @@
namespace MyCompanyName.MyProjectName.Blazor namespace MyCompanyName.MyProjectName.Blazor
{ {
public class MyProjectNameBundleContributer : IBundleContributer public class MyProjectNameBundleContributor : IBundleContributor
{ {
public void AddScripts(BundleContext context) public void AddScripts(BundleContext context)
{ {
Loading…
Cancel
Save