Beispiel #1
0
 /// <summary>
 /// Register Valizer by object interface
 /// </summary>
 /// <param name="type"></param>
 /// <param name="valizer"></param>
 /// <returns></returns>
 public static VAL Register(Type type, IValizer valizer)
 {
     return(ValizerScript.Register(type, valizer, null));
 }
Beispiel #2
0
 /// <summary>
 /// Register valizer and devalizer
 /// </summary>
 /// <param name="type"></param>
 /// <param name="valizer"></param>
 /// <param name="devalizer"></param>
 /// <returns></returns>
 public static VAL Register(Type type, Valizer valizer, Devalizer devalizer)
 {
     return(ValizerScript.Register(type, valizer, devalizer));
 }
Beispiel #3
0
 /// <summary>
 /// Register valizer script
 /// </summary>
 /// <param name="type"></param>
 /// <param name="valizerScript"></param>
 /// <returns></returns>
 public static VAL Register(Type type, string valizerScript)
 {
     return(ValizerScript.Register(type, valizerScript, null));
 }
Beispiel #4
0
 /// <summary>
 /// Register valizer by class's members
 /// </summary>
 /// <param name="type"></param>
 /// <param name="valizerMembers"></param>
 /// <returns></returns>
 public static VAL Register(Type type, string[] valizerMembers)
 {
     return(ValizerScript.Register(type, valizerMembers, null));
 }