From 117fb8cd4e6e3f7c4d9d1b4d9fa26cd7862c163c Mon Sep 17 00:00:00 2001 From: Ilkay Ilknur Date: Fri, 27 Nov 2020 14:13:37 +0300 Subject: [PATCH] additional typo fixes. --- .../Volo/Abp/Cli/Bundling/BundleTypeDefinition.cs | 2 +- .../Volo/Abp/Cli/Bundling/BundlingService.cs | 12 ++++++------ 2 files changed, 7 insertions(+), 7 deletions(-) diff --git a/framework/src/Volo.Abp.Cli.Core/Volo/Abp/Cli/Bundling/BundleTypeDefinition.cs b/framework/src/Volo.Abp.Cli.Core/Volo/Abp/Cli/Bundling/BundleTypeDefinition.cs index 57500a1db5..730be91f53 100644 --- a/framework/src/Volo.Abp.Cli.Core/Volo/Abp/Cli/Bundling/BundleTypeDefinition.cs +++ b/framework/src/Volo.Abp.Cli.Core/Volo/Abp/Cli/Bundling/BundleTypeDefinition.cs @@ -6,6 +6,6 @@ namespace Volo.Abp.Cli.Bundling { public int Level { get; set; } - public Type BundleContributerType { get; set; } + public Type BundleContributorType { get; set; } } } diff --git a/framework/src/Volo.Abp.Cli.Core/Volo/Abp/Cli/Bundling/BundlingService.cs b/framework/src/Volo.Abp.Cli.Core/Volo/Abp/Cli/Bundling/BundlingService.cs index 11893c72e1..7a8a04bde1 100644 --- a/framework/src/Volo.Abp.Cli.Core/Volo/Abp/Cli/Bundling/BundlingService.cs +++ b/framework/src/Volo.Abp.Cli.Core/Volo/Abp/Cli/Bundling/BundlingService.cs @@ -89,7 +89,7 @@ namespace Volo.Abp.Cli.Bundling foreach (var bundleDefinition in bundleDefinitions) { - var contributor = CreateContributerInstance(bundleDefinition.BundleContributerType); + var contributor = CreateContributorInstance(bundleDefinition.BundleContributorType); contributor.AddScripts(scriptContext); } @@ -103,7 +103,7 @@ namespace Volo.Abp.Cli.Bundling foreach (var bundleDefinition in bundleDefinitions) { - var contributor = CreateContributerInstance(bundleDefinition.BundleContributerType); + var contributor = CreateContributorInstance(bundleDefinition.BundleContributorType); contributor.AddStyles(styleContext); } @@ -185,9 +185,9 @@ namespace Volo.Abp.Cli.Bundling return builder.ToString(); } - private IBundleContributor CreateContributerInstance(Type bundleContributerType) + private IBundleContributor CreateContributorInstance(Type bundleContributorType) { - return (IBundleContributor)Activator.CreateInstance(bundleContributerType); + return (IBundleContributor)Activator.CreateInstance(bundleContributorType); } private void FindBundleContributorsRecursively( @@ -208,7 +208,7 @@ namespace Volo.Abp.Cli.Bundling if (bundleContributors.Any()) { var bundleContributor = bundleContributors[0]; - var definition = bundleDefinitions.SingleOrDefault(t => t.BundleContributerType == bundleContributor); + var definition = bundleDefinitions.SingleOrDefault(t => t.BundleContributorType == bundleContributor); if (definition != null) { if (definition.Level < level) @@ -221,7 +221,7 @@ namespace Volo.Abp.Cli.Bundling bundleDefinitions.Add(new BundleTypeDefinition { Level = level, - BundleContributerType = bundleContributor + BundleContributorType = bundleContributor }); } }