From 029bc4955278eef8ceb0562f08f27241e33631c6 Mon Sep 17 00:00:00 2001 From: Richard Webb Date: Sun, 17 Nov 2024 13:43:14 +0000 Subject: [PATCH] Make IProperty and related internal --- OpenMcdf.Ole/DictionaryProperty.cs | 2 +- OpenMcdf.Ole/IProperty.cs | 4 ++-- OpenMcdf.Ole/ITypedPropertyValue.cs | 2 +- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/OpenMcdf.Ole/DictionaryProperty.cs b/OpenMcdf.Ole/DictionaryProperty.cs index cff15a56..c631d3a2 100644 --- a/OpenMcdf.Ole/DictionaryProperty.cs +++ b/OpenMcdf.Ole/DictionaryProperty.cs @@ -2,7 +2,7 @@ namespace OpenMcdf.Ole; -public sealed class DictionaryProperty : IProperty +internal sealed class DictionaryProperty : IProperty { private readonly int codePage; private Dictionary? entries = new(); diff --git a/OpenMcdf.Ole/IProperty.cs b/OpenMcdf.Ole/IProperty.cs index 6e9e2610..b034f204 100644 --- a/OpenMcdf.Ole/IProperty.cs +++ b/OpenMcdf.Ole/IProperty.cs @@ -1,12 +1,12 @@ namespace OpenMcdf.Ole; -public enum PropertyType +internal enum PropertyType { TypedPropertyValue = 0, DictionaryProperty = 1 } -public interface IProperty : IBinarySerializable +internal interface IProperty : IBinarySerializable { object? Value { get; set; } diff --git a/OpenMcdf.Ole/ITypedPropertyValue.cs b/OpenMcdf.Ole/ITypedPropertyValue.cs index 94c4c5a3..a2d0039c 100644 --- a/OpenMcdf.Ole/ITypedPropertyValue.cs +++ b/OpenMcdf.Ole/ITypedPropertyValue.cs @@ -7,7 +7,7 @@ public enum PropertyDimensions IsArray } -public interface ITypedPropertyValue : IProperty +internal interface ITypedPropertyValue : IProperty { VTPropertyType VTType { get; }