changed isdecompressed to a property. Changed serializerbase to internal
This commit is contained in:
@@ -33,10 +33,11 @@ namespace Umbraco.Web.PublishedCache.NuCache.DataSource
|
||||
throw new InvalidOperationException("The bytes have already been expanded");
|
||||
return _bytes;
|
||||
}
|
||||
public bool IsDecompressed()
|
||||
{
|
||||
return _isDecompressed;
|
||||
}
|
||||
/// <summary>
|
||||
/// Whether the bytes have been decompressed to a string. If true calling GetBytes() will throw InvalidOperationException.
|
||||
/// </summary>
|
||||
public bool IsDecompressed => _isDecompressed;
|
||||
|
||||
|
||||
public override string ToString()
|
||||
{
|
||||
|
||||
@@ -4,7 +4,7 @@ using CSharpTest.Net.Serialization;
|
||||
|
||||
namespace Umbraco.Web.PublishedCache.NuCache.DataSource
|
||||
{
|
||||
public abstract class SerializerBase
|
||||
internal abstract class SerializerBase
|
||||
{
|
||||
private const char PrefixNull = 'N';
|
||||
private const char PrefixString = 'S';
|
||||
|
||||
Reference in New Issue
Block a user