This content is part of a third party extension that is not supported by the Cake project.
For more information about this extension see Cake.Issues.Reporting.Generic.
Summary
Helper for working with the ViewBag in templates.
- Assembly
- Cake
.Issues .Reporting .Generic .dll - Namespace
- Cake
.Issues .Reporting .Generic - Base Types
-
- Object
graph BT
Type-->Base0["Object"]
Type["ViewBagHelper"]
class Type type-node
Syntax
public static class ViewBagHelper
Methods
Name | Value | Summary |
---|---|---|
ValueOrDefault |
T |
Returns the value or a default value if value is null.
static
|
Extension Methods
Name | Value | Summary |
---|---|---|
ToDictionary |
IDictionary |
From ObjectHelpers
Requires the Cake.DeployParams addin
|
To |
string |
From StringExtensions
Requires the Cake.Issues addin
|