Esempio n. 1
0
        public static void RegisterQueryStringWriter()
        {
            var i = 0;

            if (QueryStringWriter <Poco> .WriteFn() != null)
            {
                i++;
            }
        }
Esempio n. 2
0
            internal static void RegisterSerializers <T>()
            {
                Register <T, Text.Json.JsonTypeSerializer>();
                jsonSerializer.GetParseFn <T>();
                jsonSerializer.GetWriteFn <T>();
                jsonReader.GetParseFn <T>();
                jsonWriter.GetWriteFn <T>();

                Register <T, Text.Jsv.JsvTypeSerializer>();
                jsvSerializer.GetParseFn <T>();
                jsvSerializer.GetWriteFn <T>();
                jsvReader.GetParseFn <T>();
                jsvWriter.GetWriteFn <T>();

                CsvSerializer.InitAot <T>();
                QueryStringWriter <T> .WriteFn();
            }
 public static void InitAot <T>()
 {
     QueryStringWriter <T> .WriteFn();
 }