diff --git a/ClosedXML/Excel/Caching/XLAlignmentRepository.cs b/ClosedXML/Excel/Caching/XLAlignmentRepository.cs index fbd768f..1e091ae 100644 --- a/ClosedXML/Excel/Caching/XLAlignmentRepository.cs +++ b/ClosedXML/Excel/Caching/XLAlignmentRepository.cs @@ -5,14 +5,18 @@ { internal sealed class XLAlignmentRepository : XLRepositoryBase { - #region constructors - public XLAlignmentRepository(Func createNew) : base(createNew) + #region Constructors + + public XLAlignmentRepository(Func createNew) + : base(createNew) { } - public XLAlignmentRepository(Func createNew, IEqualityComparer comparer) : base(createNew, comparer) + public XLAlignmentRepository(Func createNew, IEqualityComparer comparer) + : base(createNew, comparer) { } - #endregion + + #endregion Constructors } } diff --git a/ClosedXML/Excel/Caching/XLBorderRepository.cs b/ClosedXML/Excel/Caching/XLBorderRepository.cs index f9ea36f..2350e61 100644 --- a/ClosedXML/Excel/Caching/XLBorderRepository.cs +++ b/ClosedXML/Excel/Caching/XLBorderRepository.cs @@ -5,16 +5,18 @@ { internal sealed class XLBorderRepository : XLRepositoryBase { - #region constructors - public XLBorderRepository(Func createNew) : base(createNew) + #region Constructors + + public XLBorderRepository(Func createNew) + : base(createNew) { } - public XLBorderRepository(Func createNew, IEqualityComparer comparer) : base(createNew, comparer) + public XLBorderRepository(Func createNew, IEqualityComparer comparer) + : base(createNew, comparer) { } - - #endregion + #endregion Constructors } } diff --git a/ClosedXML/Excel/Caching/XLColorRepository.cs b/ClosedXML/Excel/Caching/XLColorRepository.cs index 1e42837..d6d671b 100644 --- a/ClosedXML/Excel/Caching/XLColorRepository.cs +++ b/ClosedXML/Excel/Caching/XLColorRepository.cs @@ -5,14 +5,18 @@ { internal sealed class XLColorRepository : XLRepositoryBase { - #region constructors - public XLColorRepository(Func createNew) : base(createNew) + #region Constructors + + public XLColorRepository(Func createNew) + : base(createNew) { } - public XLColorRepository(Func createNew, IEqualityComparer comparer) : base(createNew, comparer) + public XLColorRepository(Func createNew, IEqualityComparer comparer) + : base(createNew, comparer) { } - #endregion + + #endregion Constructors } } diff --git a/ClosedXML/Excel/Caching/XLFillRepository.cs b/ClosedXML/Excel/Caching/XLFillRepository.cs index b9439bb..1dbb79a 100644 --- a/ClosedXML/Excel/Caching/XLFillRepository.cs +++ b/ClosedXML/Excel/Caching/XLFillRepository.cs @@ -5,14 +5,18 @@ { internal sealed class XLFillRepository : XLRepositoryBase { - #region constructors - public XLFillRepository(Func createNew) : base(createNew) + #region Constructors + + public XLFillRepository(Func createNew) + : base(createNew) { } - public XLFillRepository(Func createNew, IEqualityComparer comparer) : base(createNew, comparer) + public XLFillRepository(Func createNew, IEqualityComparer comparer) + : base(createNew, comparer) { } - #endregion + + #endregion Constructors } } diff --git a/ClosedXML/Excel/Caching/XLFontRepository.cs b/ClosedXML/Excel/Caching/XLFontRepository.cs index e10f541..ba619ef 100644 --- a/ClosedXML/Excel/Caching/XLFontRepository.cs +++ b/ClosedXML/Excel/Caching/XLFontRepository.cs @@ -5,14 +5,18 @@ { internal sealed class XLFontRepository : XLRepositoryBase { - #region constructors - public XLFontRepository(Func createNew) : base(createNew) + #region Constructors + + public XLFontRepository(Func createNew) + : base(createNew) { } - public XLFontRepository(Func createNew, IEqualityComparer comparer) : base(createNew, comparer) + public XLFontRepository(Func createNew, IEqualityComparer comparer) + : base(createNew, comparer) { } - #endregion + + #endregion Constructors } } diff --git a/ClosedXML/Excel/Caching/XLNumberFormatRepository.cs b/ClosedXML/Excel/Caching/XLNumberFormatRepository.cs index 1d73a98..80e9d10 100644 --- a/ClosedXML/Excel/Caching/XLNumberFormatRepository.cs +++ b/ClosedXML/Excel/Caching/XLNumberFormatRepository.cs @@ -5,14 +5,18 @@ { internal sealed class XLNumberFormatRepository : XLRepositoryBase { - #region constructors - public XLNumberFormatRepository(Func createNew) : base(createNew) + #region Constructors + + public XLNumberFormatRepository(Func createNew) + : base(createNew) { } - public XLNumberFormatRepository(Func createNew, IEqualityComparer comparer) : base(createNew, comparer) + public XLNumberFormatRepository(Func createNew, IEqualityComparer comparer) + : base(createNew, comparer) { } - #endregion + + #endregion Constructors } } diff --git a/ClosedXML/Excel/Caching/XLProtectionRepository.cs b/ClosedXML/Excel/Caching/XLProtectionRepository.cs index 0b42f3f..44e7de3 100644 --- a/ClosedXML/Excel/Caching/XLProtectionRepository.cs +++ b/ClosedXML/Excel/Caching/XLProtectionRepository.cs @@ -5,14 +5,18 @@ { internal sealed class XLProtectionRepository : XLRepositoryBase { - #region constructors - public XLProtectionRepository(Func createNew) : base(createNew) + #region Constructors + + public XLProtectionRepository(Func createNew) + : base(createNew) { } - public XLProtectionRepository(Func createNew, IEqualityComparer comparer) : base(createNew, comparer) + public XLProtectionRepository(Func createNew, IEqualityComparer comparer) + : base(createNew, comparer) { } - #endregion + + #endregion Constructors } } diff --git a/ClosedXML/Excel/Caching/XLRepositoryBase.cs b/ClosedXML/Excel/Caching/XLRepositoryBase.cs index c8c4583..596dacf 100644 --- a/ClosedXML/Excel/Caching/XLRepositoryBase.cs +++ b/ClosedXML/Excel/Caching/XLRepositoryBase.cs @@ -20,7 +20,8 @@ private readonly ConcurrentDictionary _storage; private readonly Func _createNew; - protected XLRepositoryBase(Func createNew) : this(createNew, EqualityComparer.Default) + protected XLRepositoryBase(Func createNew) + : this(createNew, EqualityComparer.Default) { } diff --git a/ClosedXML/Excel/Caching/XLStyleRepository.cs b/ClosedXML/Excel/Caching/XLStyleRepository.cs index 26aa586..d5105d4 100644 --- a/ClosedXML/Excel/Caching/XLStyleRepository.cs +++ b/ClosedXML/Excel/Caching/XLStyleRepository.cs @@ -5,14 +5,18 @@ { internal sealed class XLStyleRepository : XLRepositoryBase { - #region constructors - public XLStyleRepository(Func createNew) : base(createNew) + #region Constructors + + public XLStyleRepository(Func createNew) + : base(createNew) { } - public XLStyleRepository(Func createNew, IEqualityComparer comparer) : base(createNew, comparer) + public XLStyleRepository(Func createNew, IEqualityComparer comparer) + : base(createNew, comparer) { } - #endregion + + #endregion Constructors } } diff --git a/ClosedXML/Excel/Caching/XLWorkbookElementRepositoryBase.cs b/ClosedXML/Excel/Caching/XLWorkbookElementRepositoryBase.cs index d06b8e2..a001f12 100644 --- a/ClosedXML/Excel/Caching/XLWorkbookElementRepositoryBase.cs +++ b/ClosedXML/Excel/Caching/XLWorkbookElementRepositoryBase.cs @@ -12,11 +12,13 @@ { public XLWorkbook Workbook { get; private set; } - public XLWorkbookElementRepositoryBase(XLWorkbook workbook, Func createNew) : this(workbook, createNew, EqualityComparer.Default) + public XLWorkbookElementRepositoryBase(XLWorkbook workbook, Func createNew) + : this(workbook, createNew, EqualityComparer.Default) { } - public XLWorkbookElementRepositoryBase(XLWorkbook workbook, Func createNew, IEqualityComparer сomparer) : base(createNew, сomparer) + public XLWorkbookElementRepositoryBase(XLWorkbook workbook, Func createNew, IEqualityComparer сomparer) + : base(createNew, сomparer) { Workbook = workbook; } diff --git a/ClosedXML/Excel/ConditionalFormats/XLConditionalFormat.cs b/ClosedXML/Excel/ConditionalFormats/XLConditionalFormat.cs index f348160..3ff620a 100644 --- a/ClosedXML/Excel/ConditionalFormats/XLConditionalFormat.cs +++ b/ClosedXML/Excel/ConditionalFormats/XLConditionalFormat.cs @@ -101,7 +101,8 @@ get { return NoRangeComparerInstance; } } - public XLConditionalFormat(XLRange range, Boolean copyDefaultModify = false) : base(XLStyle.Default.Value) + public XLConditionalFormat(XLRange range, Boolean copyDefaultModify = false) + : base(XLStyle.Default.Value) { Id = Guid.NewGuid(); Range = range; @@ -113,7 +114,8 @@ } - public XLConditionalFormat(XLConditionalFormat conditionalFormat, IXLRange targetRange) : base(conditionalFormat.StyleValue) + public XLConditionalFormat(XLConditionalFormat conditionalFormat, IXLRange targetRange) + : base(conditionalFormat.StyleValue) { Range = targetRange; Id = Guid.NewGuid(); diff --git a/ClosedXML/Excel/Style/XLStylizedContainer.cs b/ClosedXML/Excel/Style/XLStylizedContainer.cs index 04f94a7..458bcd3 100644 --- a/ClosedXML/Excel/Style/XLStylizedContainer.cs +++ b/ClosedXML/Excel/Style/XLStylizedContainer.cs @@ -6,7 +6,8 @@ { protected readonly IXLStylized _container; - public XLStylizedContainer(IXLStyle style, IXLStylized container) : base((style as XLStyle).Value) + public XLStylizedContainer(IXLStyle style, IXLStylized container) + : base((style as XLStyle).Value) { _container = container; } diff --git a/ClosedXML/Excel/Style/XLStylizedEmpty.cs b/ClosedXML/Excel/Style/XLStylizedEmpty.cs index 931c4b4..d22ce36 100644 --- a/ClosedXML/Excel/Style/XLStylizedEmpty.cs +++ b/ClosedXML/Excel/Style/XLStylizedEmpty.cs @@ -4,7 +4,8 @@ { internal class XLStylizedEmpty : XLStylizedBase, IXLStylized { - public XLStylizedEmpty(IXLStyle defaultStyle) : base((defaultStyle as XLStyle)?.Value ?? XLStyle.Default.Value) + public XLStylizedEmpty(IXLStyle defaultStyle) + : base((defaultStyle as XLStyle)?.Value ?? XLStyle.Default.Value) { }