File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed
src/Aliencube.AzureFunctions.Extensions.OpenApi.Core/Visitors Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -19,12 +19,12 @@ namespace Aliencube.AzureFunctions.Extensions.OpenApi.Core.Visitors
1919 public abstract class TypeVisitor : IVisitor
2020 {
2121 /// <summary>
22- /// Constructor required for <see cref="VisitorCollection "/>
22+ /// Initializes a new instance of the <see cref="TypeVisitor "/> class.
2323 /// </summary>
24- /// <param name="visitorCollection"><see cref="VisitorCollection"/></param>
25- public TypeVisitor ( VisitorCollection visitorCollection )
24+ /// <param name="visitorCollection"><see cref="VisitorCollection"/> instance. </param>
25+ protected TypeVisitor ( VisitorCollection visitorCollection )
2626 {
27- this . VisitorCollection = visitorCollection ;
27+ this . VisitorCollection = visitorCollection . ThrowIfNullOrDefault ( ) ;
2828 }
2929
3030 /// <summary>
You can’t perform that action at this time.
0 commit comments