public JourneyViewModel() { Answers = new List <Answer>(); JourneyJson = JsonConvert.SerializeObject(new Journey()); Bullets = new List <string>(); State = new Dictionary <string, string>(); SymptomDiscriminatorCode = String.Empty; CollectedKeywords = new KeywordBag(); }
public JourneyViewModel() { Answers = new List <Answer>(); JourneyJson = JsonConvert.SerializeObject(new Journey()); Bullets = new List <string>(); State = new Dictionary <string, string>(); SymptomDiscriminatorCode = String.Empty; CollectedKeywords = new KeywordBag(); FilterServices = true; UserInfo = new UserInfo { CurrentAddress = new FindServicesAddressViewModel() }; }
public JourneyViewModel() { bool fb; var feedbackEnabled = bool.TryParse(ConfigurationManager.AppSettings.Get("FeedbackEnabled"), out fb) ? fb : true; Answers = new List <Answer>(); JourneyJson = JsonConvert.SerializeObject(new Journey()); Bullets = new List <string>(); State = new Dictionary <string, string>(); SymptomDiscriminatorCode = String.Empty; CollectedKeywords = new KeywordBag(); FilterServices = true; UserInfo = new UserInfo { CurrentAddress = new FindServicesAddressViewModel() }; FeedbackEnabled = feedbackEnabled; }