Skip to content

Commit

Permalink
nuget package
Browse files Browse the repository at this point in the history
  • Loading branch information
FolkerKinzel committed Aug 11, 2021
1 parent 66fdbe0 commit 58caf37
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 4 deletions.
Binary file not shown.
Binary file not shown.
2 changes: 1 addition & 1 deletion src/FolkerKinzel.MimeTypes/FolkerKinzel.MimeTypes.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
<PackageRequireLicenseAcceptance>true</PackageRequireLicenseAcceptance>
<PackageIcon>Logo.png</PackageIcon>
<PackageVersion>1.0.0-alpha.2</PackageVersion>
<FileVersion>1.0.0.114</FileVersion>
<FileVersion>1.0.0.116</FileVersion>
<AssemblyVersion>1.0.0.0</AssemblyVersion>
<Description>
.NET library that supports the work with Internet Media Types ("MIME Types").
Expand Down
7 changes: 4 additions & 3 deletions src/FolkerKinzel.MimeTypes/MimeCache.cs
Original file line number Diff line number Diff line change
Expand Up @@ -8,12 +8,13 @@
using System.Linq;
using System.Runtime.CompilerServices;
using System.Threading;
using FolkerKinzel.MimeTypes.Intls;

#if NETSTANDARD2_0 || NET461
using FolkerKinzel.Strings.Polyfills;
#endif

namespace FolkerKinzel.MimeTypes.Intls
namespace FolkerKinzel.MimeTypes
{
/// <summary>
/// A memory cache that's used to retrieve often used file type extensions or MIME types faster.
Expand All @@ -25,7 +26,7 @@ namespace FolkerKinzel.MimeTypes.Intls
/// cache is is hold in the memory to retrieve the most frequently used MIME types and file type extensions faster.
/// </para>
/// <para>
/// The cache is pre-polated with some of the most frequently used file type extensions and MIME types but it "learns" with every query
/// The cache is pre-populated with some of the most frequently used file type extensions and MIME types but it "learns" with every query
/// and stores after some time only the data he is recently asked for. The cache doesn't exceed a given <see cref="Capacity"/>. The
/// default value for this is <see cref="DefaultCapacity"/>, which is currently 16, but you can enlarge the <see cref="Capacity"/>
/// with <see cref="EnlargeCapacity(int)"/> if your application uses more than 16 different file types.
Expand Down Expand Up @@ -72,7 +73,7 @@ public Entry(string mimeType, string extension)
public const int DefaultCapacity = 16;

/// <summary>
/// Retrieves the current capacity of the cache.
/// Gets the current capacity of the cache.
/// </summary>
public static int Capacity => _capacity;

Expand Down

0 comments on commit 58caf37

Please sign in to comment.