Skip to content

Commit

Permalink
Updated constructor access modifiers for ElementCollection<T>.
Browse files Browse the repository at this point in the history
  • Loading branch information
jamiehighfield committed May 19, 2022
1 parent 72a38ac commit d02b9c3
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/BetterControls/Collections/ElementCollection.cs
Original file line number Diff line number Diff line change
Expand Up @@ -42,13 +42,13 @@ public abstract partial class ElementCollection<TElementType> : ElementCollectio
/// <summary>
/// Initialize a new instance of <see cref="ElementCollection{TElementType}"/>.
/// </summary>
protected ElementCollection() { }
private protected ElementCollection() { }

/// <summary>
/// Initialize a new instance of <see cref="ElementCollection{TElementType}"/>.
/// </summary>
/// <param name="ownerElement">The owner element as an instance of <see cref="IElement"/>.</param>
protected ElementCollection(IElement ownerElement)
private protected ElementCollection(IElement ownerElement)
: base(ownerElement)
{ }

Expand Down

0 comments on commit d02b9c3

Please sign in to comment.