Beispiel #1
0
 public ViewModelJsonConverter(bool isPostback, IViewModelSerializationMapper viewModelSerializationMapper, JObject encryptedValues = null)
 {
     IsPostback      = isPostback;
     EncryptedValues = encryptedValues ?? new JObject();
     evReader        = EncryptedValuesReader.FromObject(EncryptedValues);
     evWriter        = new EncryptedValuesWriter(EncryptedValues.CreateWriter());
     this.viewModelSerializationMapper = viewModelSerializationMapper;
 }
 public ViewModelJsonConverter(bool isPostback, IViewModelSerializationMapper viewModelSerializationMapper, JObject encryptedValues = null)
 {
     IsPostback = isPostback;
     EncryptedValues = encryptedValues ?? new JObject();
     evReader = EncryptedValuesReader.FromObject(EncryptedValues);
     evWriter = new EncryptedValuesWriter(EncryptedValues.CreateWriter());
     this.viewModelSerializationMapper = viewModelSerializationMapper;
 }