public static PropertyRule Engine <T>(this PropertyRule rule, Func <Json, T> deserialize, Func <T, Json> serialize) { return(rule.Record(cfg => cfg.Engine(deserialize, serialize))); }
public static PropertyRule AddValidators(this PropertyRule rule, IEnumerable <Action <PropertyInfo, Object> > validators) { return(rule.Record(cfg => cfg.AddValidators(validators))); }
public static PropertyRule Engine(this PropertyRule rule, Func <PropertyInfo, Json, Object> deserialize, Func <Object, Json> serialize) { return(rule.Record(cfg => cfg.Engine(deserialize, serialize))); }
public static PropertyRule AddValidator(this PropertyRule rule, Action <PropertyInfo, Object> validator) { return(rule.Record(cfg => cfg.AddValidator(validator))); }
public static PropertyRule AddValidators(this PropertyRule rule, params Action <PropertyInfo, Object>[] validators) { return(rule.Record(cfg => cfg.AddValidators(validators))); }
public static PropertyRule BeforeSerialize(this PropertyRule rule, IEnumerable <Action <PropertyInfo, Object> > beforeSerializes) { return(rule.Record(cfg => cfg.BeforeSerialize(beforeSerializes))); }
public static PropertyRule AddValidator <T>(this PropertyRule rule, Action <T> validator) { return(rule.Record(cfg => cfg.AddValidator(validator))); }
public static PropertyRule BeforeSerialize(this PropertyRule rule, Func <PropertyInfo, Object, Object> beforeSerialize, double weight = 1.0) { return(rule.Record(cfg => cfg.BeforeSerialize(beforeSerialize, weight))); }
public static PropertyRule BeforeSerialize(this PropertyRule rule, params Action <PropertyInfo, Object>[] beforeSerializes) { return(rule.Record(cfg => cfg.BeforeSerialize(beforeSerializes))); }
public static PropertyRule BeforeSerialize <T>(this PropertyRule rule, Action <T> beforeSerialize, double weight = 1.0) { return(rule.Record(cfg => cfg.BeforeSerialize(beforeSerialize, weight))); }
public static PropertyRule AfterDeserialize <T>(this PropertyRule rule, Action <T> afterDeserialize, double weight = 1.0) { return(rule.Record(cfg => cfg.AfterDeserialize(afterDeserialize, weight))); }
public static PropertyRule AfterDeserialize(this PropertyRule rule, IEnumerable <Action <PropertyInfo, Object> > afterDeserializes) { return(rule.Record(cfg => cfg.AfterDeserialize(afterDeserializes))); }
public static PropertyRule AfterDeserialize(this PropertyRule rule, params Action <PropertyInfo, Object>[] afterDeserializes) { return(rule.Record(cfg => cfg.AfterDeserialize(afterDeserializes))); }
public static PropertyRule AfterDeserialize(this PropertyRule rule, Func <PropertyInfo, Object, Object> afterDeserialize, double weight = 1.0) { return(rule.Record(cfg => cfg.AfterDeserialize(afterDeserialize, weight))); }