Exemplo n.º 1
0
        private void DefineType(IEnumerable <string> langs)
        {
            var tb = TypeBuilderHelper.Define("TTT", typeof(Record));

            langs.ToList().ForEach(l => {
                tb.DefineProperty(l.Replace("-", "_"), typeof(string));
            });
            this.TmpType = tb.CreateType();
        }