static void Add(string name, XStateClass stateClass, string description)
		{
			var journalDescriptionState = new JournalDescriptionState(name, stateClass, description);
			JournalDescriptionStates.Add(journalDescriptionState);
		}
示例#2
0
 public JournalDescriptionStateViewModel(JournalDescriptionState xEvent)
 {
     JournalDescriptionState = xEvent;
 }
示例#3
0
		public JournalDescriptionStateViewModel(JournalDescriptionState journalDescriptionState, List<string> distinctDatabaseDescriptions)
		{
			JournalDescriptionState = journalDescriptionState;
            IsEnabled = distinctDatabaseDescriptions.Any(x => x == journalDescriptionState.Name);
		}