public static Task PopulateObjectAsync(string value, object target, Class_380 settings) { return(Task.Factory.StartNew(delegate() { Class_416.PopulateObject(value, target, settings); })); }
// Token: 0x06001114 RID: 4372 RVA: 0x00055864 File Offset: 0x00053A64 public static string SerializeObject(object value, Type type, Class_322 formatting, Class_380 settings) { Class_418 class_ = Class_418.tmethod_3162(settings); class_.prop_16 = formatting; return(Class_416.SerializeObjectInternal(value, type, class_)); }
// Token: 0x06001107 RID: 4359 RVA: 0x0005555B File Offset: 0x0005375B public static string ToString(Uri value) { if (value == null) { return(Class_416.Null); } return(Class_416.ToString(value, '"')); }
// Token: 0x0600112B RID: 4395 RVA: 0x00055BA0 File Offset: 0x00053DA0 public static string SerializeXmlNode(XmlNode node, Class_322 formatting) { Class_407 class_ = new Class_407(); return(Class_416.SerializeObject(node, formatting, new Class_299[] { class_ })); }
// Token: 0x06001110 RID: 4368 RVA: 0x000557F8 File Offset: 0x000539F8 public static string SerializeObject(object value, Class_322 formatting, params Class_299[] converters) { Class_380 settings = (converters != null && converters.Length > 0) ? new Class_380 { prop_5 = converters } : null; return(Class_416.SerializeObject(value, null, formatting, settings)); }
// Token: 0x06001121 RID: 4385 RVA: 0x000559AC File Offset: 0x00053BAC public static object DeserializeObject(string value, Type type, params Class_299[] converters) { Class_380 settings = (converters != null && converters.Length > 0) ? new Class_380 { prop_5 = converters } : null; return(Class_416.DeserializeObject(value, type, settings)); }
// Token: 0x060010BE RID: 4286 RVA: 0x00054C27 File Offset: 0x00052E27 public virtual void pmethod_3069(double?arg_0) { if (arg_0 == null) { this.gmethod_2033(); return; } base.dmethod_2086(Class_508.Float); this.vmethod_3055(Class_416.ToString(arg_0.Value, base.prop_9, this.prop_2, true), Class_508.Float); }
// Token: 0x06001135 RID: 4405 RVA: 0x00055CB8 File Offset: 0x00053EB8 public static XDocument DeserializeXNode(string value, string deserializeRootElementName, bool writeArrayAttribute) { Class_407 class_ = new Class_407(); class_.prop_0 = deserializeRootElementName; class_.prop_1 = writeArrayAttribute; return((XDocument)Class_416.DeserializeObject(value, typeof(XDocument), new Class_299[] { class_ })); }
// Token: 0x06001132 RID: 4402 RVA: 0x00055C70 File Offset: 0x00053E70 public static string SerializeXNode(XObject node, Class_322 formatting, bool omitRootObject) { Class_407 class_ = new Class_407 { prop_2 = omitRootObject }; return(Class_416.SerializeObject(node, formatting, new Class_299[] { class_ })); }
// Token: 0x06001130 RID: 4400 RVA: 0x00055C5A File Offset: 0x00053E5A public static string SerializeXNode(XObject node) { return(Class_416.SerializeXNode(node, Class_322.None)); }
public static Task <string> SerializeObjectAsync(object value, Class_322 formatting, Class_380 settings) { return(Task.Factory.StartNew <string>(() => Class_416.SerializeObject(value, formatting, settings))); }
// Token: 0x0600112A RID: 4394 RVA: 0x00055B96 File Offset: 0x00053D96 public static string SerializeXmlNode(XmlNode node) { return(Class_416.SerializeXmlNode(node, Class_322.None)); }
// Token: 0x0600111A RID: 4378 RVA: 0x0005594C File Offset: 0x00053B4C public static object DeserializeObject(string value, Class_380 settings) { return(Class_416.DeserializeObject(value, null, settings)); }
// Token: 0x06001127 RID: 4391 RVA: 0x00055AE2 File Offset: 0x00053CE2 public static void PopulateObject(string value, object target) { Class_416.PopulateObject(value, target, null); }
// Token: 0x0600111C RID: 4380 RVA: 0x00055960 File Offset: 0x00053B60 public static T DeserializeObject <T>(string value) { return(Class_416.DeserializeObject <T>(value, null)); }
// Token: 0x06001133 RID: 4403 RVA: 0x00055CA3 File Offset: 0x00053EA3 public static XDocument DeserializeXNode(string value) { return(Class_416.DeserializeXNode(value, null)); }
// Token: 0x06000F4E RID: 3918 RVA: 0x0004F20C File Offset: 0x0004D40C private void smethod_2780(Class_431 arg_0) { if (arg_0 == null) { return; } if (!this.pmethod_2789(arg_0, Class_463.Integer)) { return; } this.cmethod_2764(arg_0); object obj = this.field_0.prop_10; if (arg_0.prop_6 != null) { if (Class_362.xmethod_2591(Class_428.Integer, obj, arg_0.prop_6) > 0) { this.pmethod_2759("Integer {0} exceeds maximum value of {1}.".FormatWith(CultureInfo.InvariantCulture, obj, arg_0.prop_6), arg_0); } if (arg_0.prop_8 && Class_362.xmethod_2591(Class_428.Integer, obj, arg_0.prop_6) == 0) { this.pmethod_2759("Integer {0} equals maximum value of {1} and exclusive maximum is true.".FormatWith(CultureInfo.InvariantCulture, obj, arg_0.prop_6), arg_0); } } if (arg_0.prop_5 != null) { if (Class_362.xmethod_2591(Class_428.Integer, obj, arg_0.prop_5) < 0) { this.pmethod_2759("Integer {0} is less than minimum value of {1}.".FormatWith(CultureInfo.InvariantCulture, obj, arg_0.prop_5), arg_0); } if (arg_0.prop_7 && Class_362.xmethod_2591(Class_428.Integer, obj, arg_0.prop_5) == 0) { this.pmethod_2759("Integer {0} equals minimum value of {1} and exclusive minimum is true.".FormatWith(CultureInfo.InvariantCulture, obj, arg_0.prop_5), arg_0); } } if (arg_0.prop_4 != null) { bool flag2; if (obj is BigInteger) { BigInteger bigInteger = (BigInteger)obj; bool flag = !Math.Abs(arg_0.prop_4.Value - Math.Truncate(arg_0.prop_4.Value)).Equals(0.0); if (flag) { flag2 = (bigInteger != 0L); } else { flag2 = (bigInteger % new BigInteger(arg_0.prop_4.Value) != 0L); } } else { flag2 = !Class_381.cmethod_2784((double)Convert.ToInt64(obj, CultureInfo.InvariantCulture) % arg_0.prop_4.Value); } if (flag2) { this.pmethod_2759("Integer {0} is not evenly divisible by {1}.".FormatWith(CultureInfo.InvariantCulture, Class_416.ToString(obj), arg_0.prop_4), arg_0); } } }
// Token: 0x06001120 RID: 4384 RVA: 0x00055992 File Offset: 0x00053B92 public static T DeserializeObject <T>(string value, Class_380 settings) { return((T)((object)Class_416.DeserializeObject(value, typeof(T), settings))); }
// Token: 0x0600111F RID: 4383 RVA: 0x0005597A File Offset: 0x00053B7A public static T DeserializeObject <T>(string value, params Class_299[] converters) { return((T)((object)Class_416.DeserializeObject(value, typeof(T), converters))); }
// Token: 0x0600111E RID: 4382 RVA: 0x00055971 File Offset: 0x00053B71 public static T DeserializeAnonymousType <T>(string value, T anonymousTypeObject, Class_380 settings) { return(Class_416.DeserializeObject <T>(value, settings)); }
// Token: 0x0600111D RID: 4381 RVA: 0x00055969 File Offset: 0x00053B69 public static T DeserializeAnonymousType <T>(string value, T anonymousTypeObject) { return(Class_416.DeserializeObject <T>(value)); }
// Token: 0x06001131 RID: 4401 RVA: 0x00055C63 File Offset: 0x00053E63 public static string SerializeXNode(XObject node, Class_322 formatting) { return(Class_416.SerializeXNode(node, formatting, false)); }
// Token: 0x060010ED RID: 4333 RVA: 0x00055280 File Offset: 0x00053480 public static string ToString(DateTimeOffset value) { return(Class_416.ToString(value, Class_319.IsoDateFormat)); }
public static Task <object> DeserializeObjectAsync(string value, Type type, Class_380 settings) { return(Task.Factory.StartNew <object>(() => Class_416.DeserializeObject(value, type, settings))); }
// Token: 0x06001134 RID: 4404 RVA: 0x00055CAC File Offset: 0x00053EAC public static XDocument DeserializeXNode(string value, string deserializeRootElementName) { return(Class_416.DeserializeXNode(value, deserializeRootElementName, false)); }
// Token: 0x0600111B RID: 4379 RVA: 0x00055956 File Offset: 0x00053B56 public static object DeserializeObject(string value, Type type) { return(Class_416.DeserializeObject(value, type, null)); }
// Token: 0x060010F0 RID: 4336 RVA: 0x000552FF File Offset: 0x000534FF public static string ToString(char value) { return(Class_416.ToString(char.ToString(value))); }
public static Task <T> DeserializeObjectAsync <T>(string value, Class_380 settings) { return(Task.Factory.StartNew <T>(() => Class_416.DeserializeObject <T>(value, settings))); }
// Token: 0x06000F50 RID: 3920 RVA: 0x0004F548 File Offset: 0x0004D748 private void tmethod_2782(Class_431 arg_0) { if (arg_0 == null) { return; } if (!this.pmethod_2789(arg_0, Class_463.Float)) { return; } this.cmethod_2764(arg_0); double num = Convert.ToDouble(this.field_0.prop_10, CultureInfo.InvariantCulture); if (arg_0.prop_6 != null) { double num2 = num; double?num3 = arg_0.prop_6; if (num2 > num3.GetValueOrDefault() && num3 != null) { this.pmethod_2759("Float {0} exceeds maximum value of {1}.".FormatWith(CultureInfo.InvariantCulture, Class_416.ToString(num), arg_0.prop_6), arg_0); } if (arg_0.prop_8) { double num4 = num; double?num5 = arg_0.prop_6; if (num4 == num5.GetValueOrDefault() && num5 != null) { this.pmethod_2759("Float {0} equals maximum value of {1} and exclusive maximum is true.".FormatWith(CultureInfo.InvariantCulture, Class_416.ToString(num), arg_0.prop_6), arg_0); } } } if (arg_0.prop_5 != null) { double num6 = num; double?num7 = arg_0.prop_5; if (num6 < num7.GetValueOrDefault() && num7 != null) { this.pmethod_2759("Float {0} is less than minimum value of {1}.".FormatWith(CultureInfo.InvariantCulture, Class_416.ToString(num), arg_0.prop_5), arg_0); } if (arg_0.prop_7) { double num8 = num; double?num9 = arg_0.prop_5; if (num8 == num9.GetValueOrDefault() && num9 != null) { this.pmethod_2759("Float {0} equals minimum value of {1} and exclusive minimum is true.".FormatWith(CultureInfo.InvariantCulture, Class_416.ToString(num), arg_0.prop_5), arg_0); } } } if (arg_0.prop_4 != null) { double double_ = Class_381.gmethod_2783(num, arg_0.prop_4.Value); if (!Class_381.cmethod_2784(double_)) { this.pmethod_2759("Float {0} is not evenly divisible by {1}.".FormatWith(CultureInfo.InvariantCulture, Class_416.ToString(num), arg_0.prop_4), arg_0); } } }
public static Task <object> DeserializeObjectAsync(string value) { return(Class_416.DeserializeObjectAsync(value, null, null)); }