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

It would be useful to have a IsPartial property exposed to IRazorPage #1002

Closed
pranavkm opened this issue Aug 14, 2014 · 0 comments
Closed

Comments

@pranavkm
Copy link
Contributor

Based on conversation here - https://github.com/aspnet/Mvc/pull/997/files#r16211336

Essentially some operations such as DefineSection (@section), setting the Layout are no-op operations in the context of a partial. It might be useful for the page to know this via a property via one of ViewContext or IView

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

2 participants