From e562ceadb460f4be16d75502d77cfcb10fa39a36 Mon Sep 17 00:00:00 2001 From: Per Lundberg Date: Wed, 2 Apr 2014 18:08:16 +0100 Subject: [PATCH] Minor tweaks, and removed @JanEggers assumption that we might have stuff here which is not present on the managed side of the world. I'll leave that out for now, you can implement it later if you like Jan. --- CefSharp/Internals/JavaScriptMemberDescription.cs | 12 +++++------- 1 file changed, 5 insertions(+), 7 deletions(-) diff --git a/CefSharp/Internals/JavaScriptMemberDescription.cs b/CefSharp/Internals/JavaScriptMemberDescription.cs index 141dddd59..f400a1964 100644 --- a/CefSharp/Internals/JavaScriptMemberDescription.cs +++ b/CefSharp/Internals/JavaScriptMemberDescription.cs @@ -14,32 +14,30 @@ namespace CefSharp.Internals /// /// 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 /// [DataMember] public string ManagedName { get; set; } /// - /// Gets or sets the name of the JavaScriptProperty. + /// Gets or sets the name of the property in the JavaScript runtime. /// [DataMember] - public string JSName { get; set; } + public string JavascriptName { 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. + /// Gets or sets a delegate which is used to set the property / field value in the managed object. /// 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. + /// Gets or sets a delegate which is used to get the property / field value from the managed object. /// 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. + /// Gets or sets a delegate which is used to invoke the method if the member is a method. /// public Delegate Function { get; set; } }