Created
December 16, 2017 19:35
-
-
Save jakesays-old/8035742997c855f05f67f00cbea42812 to your computer and use it in GitHub Desktop.
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
public static void SetFieldValue(MessageWrapper message, string fieldName, object fieldValue) | |
{ | |
if (message != null) | |
{ | |
if (message.FixMessage != null) | |
{ | |
QFReflector.SetFieldValue(message.FixMessage, fieldName, fieldValue); | |
} | |
else | |
{ | |
OFReflector.SetFieldValue(message.FastMessage, fieldName, fieldValue); | |
} | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment