using System; using System.Runtime.Serialization; namespace CefSharp.Internals { [DataContract] public class JavaScriptMemberDescription { /// /// Identifies the for BrowserProcess to RenderProcess communication /// /// /// The identifier. /// [DataMember] public long Id { get; set; } /// /// Gets or sets the name of the managed property. /// May be null as s may have values attached that are not present in the managed object /// /// /// The name of the managed property. /// [DataMember] public string ManagedName { get; set; } /// /// Gets or sets the name of the JavaScriptProperty. /// /// /// The name of the JavaScriptProperty /// [DataMember] public string JSName { get; set; } // the following members are used to cache reflection code to improve performance /// /// Gets or sets the set value Action which is used to set the property / field value in the managed Object. /// /// /// The set value. /// public Action SetValue { get; set; } /// /// Gets or sets the get value Function which is used to get the property / field value from the managed Object. /// /// /// The get value. /// public Func GetValue { get; set; } /// /// Gets or sets the function that is called if the Member is a Function. /// Will be null if the Member is no function. /// /// /// The function. /// public Delegate Function { get; set; } } }