Created
October 9, 2014 07:36
-
-
Save drphrozen/83610121ae8e90646219 to your computer and use it in GitHub Desktop.
Extract property names into DataMember attributes
This file contains 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
\[DataMember\]([\s\r\n]+[^\s\r\n]+[\s\r\n]+[^\s\r\n]+[\s\r\n]+)([^\s\r\n]+) | |
[DataMember(Name ="$2")]$1$2 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment