public UserControl GetRender(ViewModel parent, Response r) { JObject resource = r.Decode<JObject>(); BuilderContext context = new BuilderContext(); MasonViewModel vm = new MasonViewModel(parent, resource, context); return new ApplicationMasonRender(vm); }
public ApplicationMasonRender(MasonViewModel vm) { InitializeComponent(); DataContext = vm; }