Share via


RazorEngineHost.DecorateChunkGenerator(RazorChunkGenerator) Method

Definition

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

Applies to