RazorEngineHost.DecorateChunkGenerator(RazorChunkGenerator) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Gets an instance of the chunk generator and is provided an opportunity to decorate or replace it
public:
virtual Microsoft::AspNetCore::Razor::Chunks::Generators::RazorChunkGenerator ^ DecorateChunkGenerator(Microsoft::AspNetCore::Razor::Chunks::Generators::RazorChunkGenerator ^ incomingChunkGenerator);
public virtual Microsoft.AspNetCore.Razor.Chunks.Generators.RazorChunkGenerator DecorateChunkGenerator (Microsoft.AspNetCore.Razor.Chunks.Generators.RazorChunkGenerator incomingChunkGenerator);
abstract member DecorateChunkGenerator : Microsoft.AspNetCore.Razor.Chunks.Generators.RazorChunkGenerator -> Microsoft.AspNetCore.Razor.Chunks.Generators.RazorChunkGenerator
override this.DecorateChunkGenerator : Microsoft.AspNetCore.Razor.Chunks.Generators.RazorChunkGenerator -> Microsoft.AspNetCore.Razor.Chunks.Generators.RazorChunkGenerator
Public Overridable Function DecorateChunkGenerator (incomingChunkGenerator As RazorChunkGenerator) As RazorChunkGenerator
Parameters
- incomingChunkGenerator
- RazorChunkGenerator
The chunk generator
Returns
Either the same chunk generator, after modifications, or a different chunk generator