Exemple #1
0
        private Expression <Func <BinaryReader, T> > CreateReadMethod()
        {
            var reader = Expression.Parameter(typeof(BinaryReader), "reader");

            return(Expression.Lambda <Func <BinaryReader, T> >(PersistHelper.CreateReadBody(reader, Type, MembersOrder, AllowNull), reader));
        }