Exemplo n.º 1
0
        public void DerivedTypeTest()
        {
            IClassInterface ici = new ClassInterface();
            ObjectMapper    om  = Map.GetObjectMapper(ici.GetType());
            MemberMapper    mm  = om["classInterface"];

            mm.SetValue(ici, new ClassInterface());
        }
Exemplo n.º 2
0
 public ClassController(ClassInterface __class, IHostingEnvironment hostingEnvironment, IConfiguration configuration)
 {
     _class = __class;
     _hostingEnvironment = hostingEnvironment;
     _config             = configuration;
 }
Exemplo n.º 3
0
		public void DerivedTypeTest()
		{
			IClassInterface ici = new ClassInterface();
			ObjectMapper om = Map.GetObjectMapper(ici.GetType());
			MemberMapper mm = om["classInterface"];
			mm.SetValue(ici, new ClassInterface());
		}