private string SerializeViewModel(object viewModel) { context.ViewModel = viewModel; serializer.SendDiff = false; serializer.BuildViewModel(context); return(UnwrapSerializedViewModel(serializer.SerializeViewModel(context))); }
public string SerializeViewModel(IDotvvmRequestContext context) => defaultViewModelSerializer.SerializeViewModel(context);