-
Notifications
You must be signed in to change notification settings - Fork 224
Moved SetTagHelperPropertyIRNode from renderer to writer #1233
Conversation
@@ -101,6 +101,18 @@ public TagHelperWriterScope Push(TagHelperWriter writer) | |||
return scope; | |||
} | |||
|
|||
public TagHelperRenderingContextScope Push(TagHelperRenderingContext context) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
public IDisposable
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
No
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Value in exposing the scope type?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Talked offline. Mind blown
@@ -154,5 +166,27 @@ public void Dispose() | |||
_context.TagHelperWriter = _writer; | |||
} | |||
} | |||
|
|||
public struct TagHelperRenderingContextScope : IDisposable |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
private struct
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
No
csharp, | ||
ignoreLineEndingDifferences: true); | ||
} | ||
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Should add indexer test for design time.
308eef5
to
9378055
Compare
🆙 📅 |
41ea2f7
to
e1ad454
Compare
e1ad454
to
4e2cd0c
Compare
Issue - #1051
@NTaylorMullen @rynowak