using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace SafeExamBrowser.UserInterface.Contracts.Browser.Data { /// /// The data resulting from a Javascript expression evaluation. /// public class JavascriptResult { /// /// Indicates if the Javascript was evaluated successfully or not. /// public bool Success { get; set; } /// /// The error message, in case of an unsuccessful evaluation of the Javascript expression. /// public string Message { get; set; } /// /// The data item returned by the Javascript expression. /// public dynamic Result { get; set; } } }