Skip to content
This repository was archived by the owner on Dec 14, 2018. It is now read-only.
This repository was 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

@pranavkm

Description

@pranavkm

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

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions