2 using System.Collections.Generic;
18 #region PROPIEDADES PRIVADAS 20 private int _nTipo = 0;
21 private string _cDocumento =
string.Empty;
22 private string _cMensajeError =
string.Empty;
26 #region PROPIEDADES PUBLICAS 46 public string _Documento
61 public string _Mensaje_Error
63 get {
return _cMensajeError; }
64 set { _cMensajeError = value; }
81 #region METODOS PUBLICOS 98 return (objectType == typeof(
IAccion));
109 public override object ReadJson(JsonReader reader, Type objectType,
object existingValue, JsonSerializer serializer)
111 object loJson = (object)
new Accion();
115 loJson = serializer.Deserialize(reader, typeof(
Accion));
117 catch (Exception loEx)
119 _Mensaje_Error = loEx.Message;
131 public override void WriteJson(JsonWriter writer,
object value, JsonSerializer serializer)
override object ReadJson(JsonReader reader, Type objectType, object existingValue, JsonSerializer serializer)
override void WriteJson(JsonWriter writer, object value, JsonSerializer serializer)
override bool CanConvert(Type objectType)