This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
function createSettersProxy(string_name, object_setters, function_proxy) | |
{ | |
Object.keys(object_setters).forEach((property) => { | |
let descriptor = Object.getOwnPropertyDescriptor(object_setters, property); | |
if (typeof descriptor.set === 'function' | |
&& property.indexOf("_orig_") < 0) | |
{ | |
// console.log("set is ", property); | |
let pxy_name = property +"_orig_"; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
using System; | |
using System.Collections.Generic; | |
using MessagePack; | |
using MessagePack.Formatters; | |
namespace castt | |
{ | |
public class WithString | |
{ | |
public string X { get; set; } |
OlderNewer