private bool IsSpecified(JsonWriter writer, JsonProperty property, object target) { if (property.GetIsSpecified == null) { return(true); } bool isSpecified = property.GetIsSpecified(target); if (TraceWriter != null && TraceWriter.LevelFilter >= TraceLevel.Verbose) { TraceWriter.Trace(TraceLevel.Verbose, JsonPosition.FormatMessage(null, writer.Path, "IsSpecified result for property '{0}' on {1}: {2}".FormatWith(CultureInfo.InvariantCulture, property.PropertyName, property.DeclaringType, isSpecified)), null); } return(isSpecified); }
private bool IsSpecified(JsonProperty property, object target) { if (property.GetIsSpecified == null) return true; return property.GetIsSpecified(target); }
private bool IsSpecified(JsonWriter writer, JsonProperty property, object target) { if (property.GetIsSpecified == null) return true; bool isSpecified = property.GetIsSpecified(target); if (TraceWriter != null && TraceWriter.LevelFilter >= TraceLevel.Verbose) TraceWriter.Trace(TraceLevel.Verbose, JsonPosition.FormatMessage(null, writer.Path, "IsSpecified result for property '{0}' on {1}: {2}".FormatWith(CultureInfo.InvariantCulture, property.PropertyName, property.DeclaringType, isSpecified)), null); return isSpecified; }
private bool IsSpecified(JsonProperty property, object target) { return(property.GetIsSpecified == null || property.GetIsSpecified(target)); }
// Token: 0x06000C0E RID: 3086 // RVA: 0x00047D04 File Offset: 0x00045F04 private bool IsSpecified(JsonWriter writer, JsonProperty property, object target) { if (property.GetIsSpecified == null) { return true; } bool flag = property.GetIsSpecified(target); if (this.TraceWriter != null && this.TraceWriter.LevelFilter >= TraceLevel.Verbose) { this.TraceWriter.Trace(TraceLevel.Verbose, JsonPosition.FormatMessage(null, writer.Path, StringUtils.FormatWith("IsSpecified result for property '{0}' on {1}: {2}", CultureInfo.InvariantCulture, property.PropertyName, property.DeclaringType, flag)), null); } return flag; }