Fix NuCache spelling
This commit is contained in:
@@ -9,9 +9,9 @@ namespace Umbraco.Web.PublishedCache.NuCache.DataSource
|
||||
{
|
||||
public class AppSettingsNuCachePropertyMapFactory : INuCachePropertyOptionsFactory
|
||||
{
|
||||
public NucachePropertyOptions GetNuCachePropertyOptions()
|
||||
public NuCachePropertyOptions GetNuCachePropertyOptions()
|
||||
{
|
||||
NucachePropertyOptions options = new NucachePropertyOptions
|
||||
NuCachePropertyOptions options = new NuCachePropertyOptions
|
||||
{
|
||||
PropertyMap = GetPropertyMap(),
|
||||
LZ4CompressionLevel = K4os.Compression.LZ4.LZ4Level.L10_OPT,
|
||||
|
||||
@@ -8,6 +8,6 @@ namespace Umbraco.Web.PublishedCache.NuCache.DataSource
|
||||
{
|
||||
public interface INuCachePropertyOptionsFactory
|
||||
{
|
||||
NucachePropertyOptions GetNuCachePropertyOptions();
|
||||
NuCachePropertyOptions GetNuCachePropertyOptions();
|
||||
}
|
||||
}
|
||||
|
||||
@@ -146,7 +146,7 @@ namespace Umbraco.Web.PublishedCache.NuCache.DataSource
|
||||
}
|
||||
}
|
||||
private readonly (NucachePropertyCompressionLevel Compress, NucachePropertyDecompressionLevel decompressionLevel, string MappedAlias) DEFAULT_MAP =(NucachePropertyCompressionLevel.None, NucachePropertyDecompressionLevel.NotCompressed, null);
|
||||
private readonly NucachePropertyOptions _nucachePropertyOptions;
|
||||
private readonly NuCachePropertyOptions _nucachePropertyOptions;
|
||||
|
||||
public (NucachePropertyCompressionLevel Compress, NucachePropertyDecompressionLevel decompressionLevel, string MappedAlias) GetSerializationMap(string propertyAlias)
|
||||
{
|
||||
|
||||
@@ -12,7 +12,7 @@ namespace Umbraco.Web.PublishedCache.NuCache.DataSource
|
||||
internal class MsgPackContentNestedDataSerializer : IContentNestedDataByteSerializer
|
||||
{
|
||||
private MessagePackSerializerOptions _options;
|
||||
private readonly NucachePropertyOptions _propertyOptions;
|
||||
private readonly NuCachePropertyOptions _propertyOptions;
|
||||
|
||||
public MsgPackContentNestedDataSerializer(INuCachePropertyOptionsFactory propertyOptionsFactory = null)
|
||||
{
|
||||
@@ -34,7 +34,7 @@ namespace Umbraco.Web.PublishedCache.NuCache.DataSource
|
||||
_options = defaultOptions
|
||||
.WithResolver(resolver)
|
||||
.WithCompression(MessagePackCompression.Lz4BlockArray);
|
||||
_propertyOptions = propertyOptionsFactory?.GetNuCachePropertyOptions() ?? new NucachePropertyOptions();
|
||||
_propertyOptions = propertyOptionsFactory?.GetNuCachePropertyOptions() ?? new NuCachePropertyOptions();
|
||||
}
|
||||
|
||||
public string ToJson(string serialized)
|
||||
|
||||
@@ -6,7 +6,7 @@ using System.Threading.Tasks;
|
||||
|
||||
namespace Umbraco.Web.PublishedCache.NuCache.DataSource
|
||||
{
|
||||
public class NucachePropertyOptions
|
||||
public class NuCachePropertyOptions
|
||||
{
|
||||
public IReadOnlyDictionary<string, (NucachePropertyCompressionLevel compress, NucachePropertyDecompressionLevel decompressionLevel,
|
||||
string mappedAlias)> PropertyMap
|
||||
|
||||
Reference in New Issue
Block a user