private string Serialize <T>(T obj) where T : class, new() { if (mimeFormat == MimeFormat.json) { return(RedmineSerialization.JsonSerializer(obj)); } return(RedmineSerialization.ToXML(obj)); }
private string Serialize <T>(T obj) where T : class, new() { // #if RUNNING_ON_35_OR_ABOVE if (mimeFormat == MimeFormat.json) { return(RedmineSerialization.JsonSerializer(obj)); } //#else return(RedmineSerialization.ToXML(obj)); // #endif }