diff --git a/ClosedXML/Extensions.cs b/ClosedXML/Extensions.cs index 8af0aac..9304945 100644 --- a/ClosedXML/Extensions.cs +++ b/ClosedXML/Extensions.cs @@ -15,7 +15,7 @@ namespace ClosedXML.Excel { - public static class Extensions + internal static class Extensions { // Adds the .ForEach method to all IEnumerables @@ -84,7 +84,7 @@ } } - public static class DictionaryExtensions + internal static class DictionaryExtensions { public static void RemoveAll(this Dictionary dic, Func predicate) @@ -97,7 +97,7 @@ } } - public static class StringExtensions + internal static class StringExtensions { private static readonly Regex RegexNewLine = new Regex(@"((? fontCache) { @@ -270,7 +270,7 @@ } } - public static class XDocumentExtensions + internal static class XDocumentExtensions { public static XDocument Load(Stream stream) { @@ -281,7 +281,7 @@ } } - public static class EnumerableExtensions + internal static class EnumerableExtensions { public static void ForEach(this IEnumerable source, Action action) { @@ -295,7 +295,7 @@ } } - public static class ListExtensions + internal static class ListExtensions { public static void RemoveAll(this IList list, Func predicate) { @@ -307,7 +307,7 @@ } } - public static class DoubleValueExtensions + internal static class DoubleValueExtensions { public static DoubleValue SaveRound(this DoubleValue value) { @@ -315,7 +315,7 @@ } } - public static class TypeExtensions + internal static class TypeExtensions { public static bool IsNumber(this Type type) { @@ -333,7 +333,7 @@ } } - public static class ObjectExtensions + internal static class ObjectExtensions { public static bool IsNumber(this object value) { diff --git a/ClosedXML_Examples/ClosedXML_Examples.csproj b/ClosedXML_Examples/ClosedXML_Examples.csproj index bec3849..c0db642 100644 --- a/ClosedXML_Examples/ClosedXML_Examples.csproj +++ b/ClosedXML_Examples/ClosedXML_Examples.csproj @@ -34,6 +34,7 @@ + diff --git a/ClosedXML_Examples/Comments/AddingComments.cs b/ClosedXML_Examples/Comments/AddingComments.cs index e826414..1000aed 100644 --- a/ClosedXML_Examples/Comments/AddingComments.cs +++ b/ClosedXML_Examples/Comments/AddingComments.cs @@ -4,6 +4,7 @@ using System.Text; using ClosedXML.Excel; using System.IO; +using MoreLinq; namespace ClosedXML_Examples { diff --git a/ClosedXML_Examples/Misc/LambdaExpressions.cs b/ClosedXML_Examples/Misc/LambdaExpressions.cs index 5e2721b..cbffea1 100644 --- a/ClosedXML_Examples/Misc/LambdaExpressions.cs +++ b/ClosedXML_Examples/Misc/LambdaExpressions.cs @@ -1,6 +1,7 @@ using System.IO; using System.Linq; using ClosedXML.Excel; +using MoreLinq; namespace ClosedXML_Examples { @@ -53,4 +54,4 @@ } } } -} \ No newline at end of file +} diff --git a/ClosedXML_Examples/Tables/ResizingTables.cs b/ClosedXML_Examples/Tables/ResizingTables.cs index 64ad34e..0ef7713 100644 --- a/ClosedXML_Examples/Tables/ResizingTables.cs +++ b/ClosedXML_Examples/Tables/ResizingTables.cs @@ -1,4 +1,5 @@ using ClosedXML.Excel; +using MoreLinq; using System; using System.Linq;