private void ViewJsonObjects(IComplexObjectItemModel item) { if (item != null) { if (JsonObjectsView != null) { var json = item.GetJson(); JsonObjectsView.ShowJsonString(JSONUtils.Format(json)); } } }
private void ViewJsonObjects() { if (!string.IsNullOrEmpty(JsonString)) { var window = new JsonObjectsView { Height = 280 }; var contentPresenter = window.FindChild<TextBox>(); if (contentPresenter != null) { var json=JSONUtils.Format(JsonString); contentPresenter.Text = json; } window.ShowDialog(); } }
private static void ViewJsonObjects(IComplexObjectItemModel item) { if (item != null) { var window = new JsonObjectsView { Height = 280 }; var contentPresenter = window.FindChild <TextBox>(); if (contentPresenter != null) { var json = item.GetJson(); contentPresenter.Text = JSONUtils.Format(json); } window.ShowDialog(); } }
private void ViewJsonObjects(IServiceInput input) { JsonObjectsView?.ShowJsonString(JSONUtils.Format(JSONUtils.Format(input.Dev2ReturnType))); }
void ViewJsonObjects() { JsonObjectsView?.ShowJsonString(JSONUtils.Format(ObjectResult)); }
void ViewObjectsResultForParameterInput(IServiceInput input) { JsonObjectsView?.ShowJsonString(JSONUtils.Format(input.Dev2ReturnType)); }