Skip to content
This repository has been archived by the owner on Dec 19, 2018. It is now read-only.

Moved SetTagHelperPropertyIRNode from renderer to writer #1233

Merged
merged 1 commit into from
Apr 21, 2017

Conversation

ajaybhargavb
Copy link
Contributor

@@ -101,6 +101,18 @@ public TagHelperWriterScope Push(TagHelperWriter writer)
return scope;
}

public TagHelperRenderingContextScope Push(TagHelperRenderingContext context)
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

public IDisposable

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

No

Copy link
Member

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?

Copy link
Member

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
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

private struct

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

No

csharp,
ignoreLineEndingDifferences: true);
}

Copy link
Member

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.

@ajaybhargavb
Copy link
Contributor Author

🆙 📅

@ajaybhargavb ajaybhargavb force-pushed the ajbaaska/writer branch 4 times, most recently from 41ea2f7 to e1ad454 Compare April 21, 2017 18:30
- SetTagHelperPropertyIRNode
- ChecksumIRNode
- UsingStatementIRNode
- Preallocated attributes target extension
- HtmlAttributeIRNode and friends
- Design time directive helper target extension
- Removed renderers and rendering conventions
- Regenerated IR baselines
Issue - #846 and #1051
@ajaybhargavb ajaybhargavb merged commit 4e2cd0c into dev Apr 21, 2017
@ajaybhargavb ajaybhargavb deleted the ajbaaska/writer branch April 21, 2017 18:59
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

4 participants