internal static int RegisterElement<T, TElement>() { var i = 0; i += AotConfig.RegisterSerializers<TElement>(); AotConfig.RegisterElement<T, TElement, JsonTypeSerializer>(); AotConfig.RegisterElement<T, TElement, JsvTypeSerializer>(); return i; }
public static int RegisterElement <T, TElement>() { var i = 0; i += AotConfig.RegisterSerializers <TElement>(); AotConfig.RegisterElement <T, TElement, JsonTypeSerializer>(); AotConfig.RegisterElement <T, TElement, Text.Jsv.JsvTypeSerializer>(); return(i); }
public static void RegisterElement <T, TElement>() { AotConfig.RegisterSerializers <TElement>(); AotConfig.RegisterElement <T, TElement, Text.Json.JsonTypeSerializer>(); AotConfig.RegisterElement <T, TElement, Text.Jsv.JsvTypeSerializer>(); }