protected WebSharpObject(object obj) : base() { InstanceType = GetType(); if (cachedPropertyInfo == null) { cachedPropertyInfo = CachedPropertyInfo; } }
public WebSharpObject() { InstanceType = GetType(); if (cachedPropertyInfo == null) { cachedPropertyInfo = CachedPropertyInfo; } }
protected WebSharpObject(object obj) : base() { InstanceType = GetType(); if (cachedPropertyInfo == null) { cachedPropertyInfo = CachedPropertyInfo; } var dict = obj as IDictionary <string, object>; // The key `websharp_id` represents a wrapped proxy object if (dict != null && dict.ContainsKey("websharp_id")) { JavaScriptProxy = obj; } }