Ejemplo n.º 1
0
        DeserializeUsing <A, B, C, D, E, F, G, H, I, J, K, L, M, N, O, P>(
            Readers.Reader <A> readerA, Readers.Reader <B> readerB,
            Readers.Reader <C> readerC, Readers.Reader <D> readerD,
            Readers.Reader <E> readerE, Readers.Reader <F> readerF,
            Readers.Reader <G> readerG, Readers.Reader <H> readerH,
            Readers.Reader <I> readerI, Readers.Reader <J> readerJ,
            Readers.Reader <K> readerK, Readers.Reader <L> readerL,
            Readers.Reader <M> readerM, Readers.Reader <N> readerN,
            Readers.Reader <O> readerO, Readers.Reader <P> readerP
            )
        {
            var v =
                new Deserialized <A, B, C, D, E, F, G, H, I, J, K, L, M, N, O, P>();

            v.a = readerA(array);
            v.b = readerB(array);
            v.c = readerC(array);
            v.d = readerD(array);
            v.e = readerE(array);
            v.f = readerF(array);
            v.g = readerG(array);
            v.h = readerH(array);
            v.i = readerI(array);
            v.j = readerJ(array);
            v.k = readerK(array);
            v.l = readerL(array);
            v.m = readerM(array);
            v.n = readerN(array);
            v.o = readerO(array);
            v.p = readerP(array);
            return(v);
        }
Ejemplo n.º 2
0
        DeserializeUsing <A, B, C, D, E, F, G, H, I, J, K, L>(
            Readers.Reader <A> readerA, Readers.Reader <B> readerB,
            Readers.Reader <C> readerC, Readers.Reader <D> readerD,
            Readers.Reader <E> readerE, Readers.Reader <F> readerF,
            Readers.Reader <G> readerG, Readers.Reader <H> readerH,
            Readers.Reader <I> readerI, Readers.Reader <J> readerJ,
            Readers.Reader <K> readerK, Readers.Reader <L> readerL
            )
        {
            var v =
                new Deserialized <A, B, C, D, E, F, G, H, I, J, K, L>();

            v.a = readerA(array);
            v.b = readerB(array);
            v.c = readerC(array);
            v.d = readerD(array);
            v.e = readerE(array);
            v.f = readerF(array);
            v.g = readerG(array);
            v.h = readerH(array);
            v.i = readerI(array);
            v.j = readerJ(array);
            v.k = readerK(array);
            v.l = readerL(array);
            return(v);
        }
Ejemplo n.º 3
0
        DeserializeUsing <A, B>(
            Readers.Reader <A> readerA, Readers.Reader <B> readerB
            )
        {
            var v =
                new Deserialized <A, B>();

            v.a = readerA(array);
            v.b = readerB(array);
            return(v);
        }
Ejemplo n.º 4
0
        DeserializeUsing <A, B, C, D>(
            Readers.Reader <A> readerA, Readers.Reader <B> readerB,
            Readers.Reader <C> readerC, Readers.Reader <D> readerD
            )
        {
            var v =
                new Deserialized <A, B, C, D>();

            v.a = readerA(array);
            v.b = readerB(array);
            v.c = readerC(array);
            v.d = readerD(array);
            return(v);
        }
Ejemplo n.º 5
0
        DeserializeUsing <A, B, C, D, E, F>(
            Readers.Reader <A> readerA, Readers.Reader <B> readerB,
            Readers.Reader <C> readerC, Readers.Reader <D> readerD,
            Readers.Reader <E> readerE, Readers.Reader <F> readerF
            )
        {
            var v =
                new Deserialized <A, B, C, D, E, F>();

            v.a = readerA(array);
            v.b = readerB(array);
            v.c = readerC(array);
            v.d = readerD(array);
            v.e = readerE(array);
            v.f = readerF(array);
            return(v);
        }
Ejemplo n.º 6
0
        DeserializeUsing <A, B, C, D, E, F, G, H, I>(
            Readers.Reader <A> readerA, Readers.Reader <B> readerB,
            Readers.Reader <C> readerC, Readers.Reader <D> readerD,
            Readers.Reader <E> readerE, Readers.Reader <F> readerF,
            Readers.Reader <G> readerG, Readers.Reader <H> readerH,
            Readers.Reader <I> readerI
            )
        {
            var v =
                new Deserialized <A, B, C, D, E, F, G, H, I>();

            v.a = readerA(array);
            v.b = readerB(array);
            v.c = readerC(array);
            v.d = readerD(array);
            v.e = readerE(array);
            v.f = readerF(array);
            v.g = readerG(array);
            v.h = readerH(array);
            v.i = readerI(array);
            return(v);
        }
Ejemplo n.º 7
0
 /// Deserialize an object using a reader function that implements how the
 /// object should be serialized.
 public T DeserializeUsing <T>(Readers.Reader <T> reader)
 {
     return(reader(array));
 }