public nTestView(nModel model, Type target) { Model = model; Action = new nAction() { Params = new Dictionary<string, object>() { { TARGET, target }, } }; }
public nAndroidView(nModel model, Type target, Context context) { Model = model; Action = new nAction() { Params = new Dictionary<string, object>() { { TARGET, target }, { CONTEXT, context } } }; }
/** View that returns data */ public nView View(nModel model, nContext context) { var rtn = View(); rtn.Model = model; return rtn; }
/** Return a view with only a model */ protected nView View(nModel model) { var rtn = _factory.View(model, _context); return rtn; }