Table of Contents

Class ViewDataDictionaryExtensions

Namespace
Kentico.Web.Mvc
Assembly
Kentico.Web.Mvc.dll

Provides methods to access view data for Kentico content.

public static class ViewDataDictionaryExtensions
Inheritance
object
ViewDataDictionaryExtensions

Methods

Kentico(ViewDataDictionary)

Returns an object that provides methods to access view data for Kentico content.

public static ViewDataDictionaryExtensionPoint Kentico(this ViewDataDictionary target)

Parameters

target ViewDataDictionary

An instance of the Microsoft.AspNetCore.Mvc.ViewFeatures.ViewDataDictionary class.

Returns

ViewDataDictionaryExtensionPoint

An object that provides methods to access view data for Kentico content or null when target is null.