Suoranta.WebApp.Types Namespace
Suoranta.WebApp - Developer API

WebViewPageExtensions..::..GetOrAdd<(Of <(<'T>)>)> Method (ViewDataDictionary, String, Func<(Of <(<'String, Object>)>)>)

Namespace:  Suoranta.WebApp.View
Assembly:  Suoranta.WebApp (in Suoranta.WebApp.dll)

Syntax


public static T GetOrAdd<T>(
	this ViewDataDictionary viewData,
	string key,
	Func<string, Object> creator
)

Type Parameters

T

Parameters

viewData
Type: ViewDataDictionary
key
Type: String
creator
Type: Func<(Of <(<'String, Object>)>)>