DynamicViewBag
Defined in RazorEngine.dll.
Defines a dynamic view bag.
Constructors
Constructor | Description |
new()
Signature: unit -> unit
|
Initialises a new instance of DynamicViewBag |
new(viewbag)
Signature: viewbag:DynamicViewBag -> unit
|
Initialises a new instance of DynamicViewBag |
new(dictionary)
Signature: dictionary:IDictionary<string,obj> -> unit
|
Instance members
Instance member | Description |
AddDictionaryValues(valueDictionary)
Signature: valueDictionary:IDictionary -> unit
|
Adds values from the specified valueDictionary to this instance of DynamicViewBag. |
AddDictionaryValuesEx(valueDictionary)
Signature: valueDictionary:IDictionary<string,obj> -> unit
|
|
AddListValues(...)
Signature: (valueList:IList * keyPropertyName:string) -> unit
|
Adds values from the specified valueList to this instance of DynamicViewBag. |
AddValue(propertyName, value)
Signature: (propertyName:string * value:obj) -> unit
|
Add a value to this instance of DynamicViewBag. |
GetDynamicMemberNames()
Signature: unit -> IEnumerable<string>
Modifiers: abstract |
Gets the set of dynamic member names. |
SetValue(propertyName, value)
Signature: (propertyName:string * value:obj) -> unit
|
Set a value in this instance of DynamicViewBag. |
TryGetMember(binder, result)
Signature: (binder:GetMemberBinder * result:byref<obj>) -> bool
Modifiers: abstract |
|
TrySetMember(binder, value)
Signature: (binder:SetMemberBinder * value:obj) -> bool
Modifiers: abstract |
Attempts to set a value on the object. |