diff --git a/CefSharp.Example/BoundObject.cs b/CefSharp.Example/BoundObject.cs index 5db25b200..3d5fd9ab1 100644 --- a/CefSharp.Example/BoundObject.cs +++ b/CefSharp.Example/BoundObject.cs @@ -14,25 +14,21 @@ namespace CefSharp.Example public uint[] MyUintArray { get { return new uint[] { 7, 8 }; } - set { } } public int[] MyIntArray { - get { return new int[] { 1, 2, 3, 4, 5, 6, 7, 8 }; } - set { } + get { return new [] { 1, 2, 3, 4, 5, 6, 7, 8 }; } } public Array MyArray { get { return new short[] { 1, 2, 3 }; } - set { } } public byte[] MyBytes { get { return new byte[] { 3, 4, 5 }; } - set { } } public BoundObject() diff --git a/CefSharp/Internals/BrowserProcessResponse.cs b/CefSharp/Internals/BrowserProcessResponse.cs index 0744daf36..1f8df83c7 100644 --- a/CefSharp/Internals/BrowserProcessResponse.cs +++ b/CefSharp/Internals/BrowserProcessResponse.cs @@ -2,14 +2,11 @@ // // Use of this source code is governed by a BSD-style license that can be found in the LICENSE file. -using System; -using System.Collections; -using System.Collections.Generic; using System.Runtime.Serialization; namespace CefSharp.Internals { - [DataContract] + [DataContract] [KnownType(typeof(bool[]))] [KnownType(typeof(byte[]))] [KnownType(typeof(short[]))] @@ -21,15 +18,15 @@ namespace CefSharp.Internals [KnownType(typeof(float[]))] [KnownType(typeof(double[]))] [KnownType(typeof(string[]))] - public class BrowserProcessResponse - { - [DataMember] - public string Message { get; set; } - - [DataMember] - public bool Success { get; set; } - - [DataMember] - public object Result { get; set; } - } + public class BrowserProcessResponse + { + [DataMember] + public string Message { get; set; } + + [DataMember] + public bool Success { get; set; } + + [DataMember] + public object Result { get; set; } + } } diff --git a/CefSharp/Internals/JavascriptObject.cs b/CefSharp/Internals/JavascriptObject.cs index 7f15bf739..631cd8b0c 100644 --- a/CefSharp/Internals/JavascriptObject.cs +++ b/CefSharp/Internals/JavascriptObject.cs @@ -2,7 +2,6 @@ // // Use of this source code is governed by a BSD-style license that can be found in the LICENSE file. -using System; using System.Collections.Generic; using System.Runtime.Serialization; @@ -26,7 +25,7 @@ namespace CefSharp.Internals /// /// Indicate if JavascriptName is camel case or not /// - internal bool CamelCaseJavascriptNames { get; set; } + public bool CamelCaseJavascriptNames { get; set; } /// /// Gets the methods of the . diff --git a/CefSharp/Internals/JavascriptObjectRepository.cs b/CefSharp/Internals/JavascriptObjectRepository.cs index 03cfd97a0..b78358d8c 100644 --- a/CefSharp/Internals/JavascriptObjectRepository.cs +++ b/CefSharp/Internals/JavascriptObjectRepository.cs @@ -22,7 +22,7 @@ namespace CefSharp.Internals RootObject = new JavascriptRootObject(); } - internal JavascriptObject CreateJavascriptObject(bool camelCaseJavascriptNames) + private JavascriptObject CreateJavascriptObject(bool camelCaseJavascriptNames) { long id; lock (Lock)