1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889 |
- namespace Xilium.CefGlue.Common.Shared.Serialization
- {
- internal class CefDictionaryWrapper : CefValueWrapper<string, ICefDictionaryValue>
- {
- public CefDictionaryWrapper(ICefDictionaryValue container, string index) : base(container, index)
- {
- }
- public override void SetNull()
- {
- _container.SetNull(_index);
- }
- public override void SetBool(bool value)
- {
- _container.SetBool(_index, value);
- }
- public override void SetInt(int value)
- {
- _container.SetInt(_index, value);
- }
- public override void SetDouble(double value)
- {
- _container.SetDouble(_index, value);
- }
- public override void SetString(string value)
- {
- _container.SetString(_index, value);
- }
- public override void SetBinary(ICefBinaryValue value)
- {
- _container.SetBinary(_index, value);
- }
- public override void SetList(ICefListValue value)
- {
- _container.SetList(_index, value);
- }
- public override void SetDictionary(ICefDictionaryValue value)
- {
- _container.SetDictionary(_index, value);
- }
- public override bool GetBool()
- {
- return _container.GetBool(_index);
- }
- public override int GetInt()
- {
- return _container.GetInt(_index);
- }
- public override double GetDouble()
- {
- return _container.GetDouble(_index);
- }
- public override string GetString()
- {
- return _container.GetString(_index);
- }
- public override ICefBinaryValue GetBinary()
- {
- return _container.GetBinary(_index);
- }
- public override ICefListValue GetList()
- {
- return _container.GetList(_index);
- }
- public override ICefDictionaryValue GetDictionary()
- {
- return _container.GetDictionary(_index);
- }
- public override CefValueType GetValueType()
- {
- return _container.GetValueType(_index);
- }
- }
- }
|