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