Exemple #1
0
        public void CreateConstructor()
        {
            var constructor = ExpressionFactory.CreateConstructor(typeof(Contact));

            Assert.NotNull(constructor);

            var contactDelegate = constructor() as Contact;

            Assert.NotNull(contactDelegate);
            Assert.IsType <Contact>(contactDelegate);
        }