Browse Source

Rename SimpleBundleContributor to BundleFileContributor

pull/301/head
Halil ibrahim Kalkan 8 years ago
parent
commit
715f8819df
  1. 2
      src/Volo.Abp.AspNetCore.Mvc.UI.Bundling/Volo/Abp/AspNetCore/Mvc/UI/Bundling/BundleContributorListExtensions.cs
  2. 4
      src/Volo.Abp.AspNetCore.Mvc.UI.Bundling/Volo/Abp/AspNetCore/Mvc/UI/Bundling/BundleFileContributor.cs

2
src/Volo.Abp.AspNetCore.Mvc.UI.Bundling/Volo/Abp/AspNetCore/Mvc/UI/Bundling/BundleContributorListExtensions.cs

@ -4,7 +4,7 @@
{
public static void AddFiles(this BundleContributorCollection contributors, params string[] files)
{
contributors.Add(new SimpleBundleContributor(files));
contributors.Add(new BundleFileContributor(files));
}
}
}

4
src/Volo.Abp.AspNetCore.Mvc.UI.Bundling/Volo/Abp/AspNetCore/Mvc/UI/Bundling/SimpleBundleContributor.cs → src/Volo.Abp.AspNetCore.Mvc.UI.Bundling/Volo/Abp/AspNetCore/Mvc/UI/Bundling/BundleFileContributor.cs

@ -3,11 +3,11 @@ using System.Collections.Generic;
namespace Volo.Abp.AspNetCore.Mvc.UI.Bundling
{
public class SimpleBundleContributor : BundleContributor
public class BundleFileContributor : BundleContributor
{
public string[] Files { get; }
public SimpleBundleContributor(params string[] files)
public BundleFileContributor(params string[] files)
{
Files = files ?? Array.Empty<string>();
}
Loading…
Cancel
Save