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