public static string CreateMessage(Options option) { return(String.Format("Option:{0}$$", (int)option)); }
public static string CreateMessage <T>(Options option, T obj) { return(String.Format("{0}Data:{1}$$", CreateMessage(option), JsonConvert.SerializeObject(obj))); }