jeudi 17 juillet 2014

C# question. Attempting to simplify some code

Here is the code:

http://ift.tt/1t8kioq



The main thing I want to see if I can simplify is the validation functions and the LoadProperties function. It's very repetitive, so I'm curious if I'm writing it wrong. The json file, PropertyName and PropertyHandler are added to show where the code is coming from.





via JREF Forum http://ift.tt/1mXx5c1

Aucun commentaire:

Enregistrer un commentaire