public int Test3_AutoCheck(TestSerializerModel2 model) { //if( model.DtValue.HasValue && System.Web.HttpContext.Current.Request.ContentType.StartsWith("application/json") ) // model.DtValue = model.DtValue.Value.ToLocalTime(); string xml1 = model.ToString(); string xml2 = s_lastTestSerializerModel2.ToString(); return (xml1 == xml2 ? 1 : 0); }
public string Test3(TestSerializerModel2 model) { return model.ToString(); }