// Copyright © 2014 The CefSharp Authors. All rights reserved. // // Use of this source code is governed by a BSD-style license that can be found in the LICENSE file. using System.Collections.Generic; using System.Runtime.Serialization; using CefSharp.Internals; namespace CefSharp { /// /// Javascript Response /// [DataContract] [KnownType(typeof(object[]))] [KnownType(typeof(JavascriptCallback))] [KnownType(typeof(Dictionary))] public class JavascriptResponse { /// /// Error message /// [DataMember] public string Message { get; set; } /// /// Was the javascript executed successfully /// [DataMember] public bool Success { get; set; } /// /// Javascript response /// [DataMember] public object Result { get; set; } } }