mercredi 2 mars 2016

How to make create method to dublicate of object

I have json-serialized object in external resource (Azure Table Storage), I get this object and do some actions with it later. But I want to have this object without connect to external resource. Of course, I can copy serialized string from external resource and put directly to code, but I would want to have code that create this object with standard 'new' keyword and fill fields. So, is it possible to create this code by already filled object?





Aucun commentaire:

Enregistrer un commentaire