コード例 #1
0
		static void Add(string name, XStateClass stateClass, string description)
		{
			var journalDescriptionState = new JournalDescriptionState(name, stateClass, description);
			JournalDescriptionStates.Add(journalDescriptionState);
		}
コード例 #2
0
ファイル: XEventViewModel.cs プロジェクト: saeednazari/Rubezh
 public JournalDescriptionStateViewModel(JournalDescriptionState xEvent)
 {
     JournalDescriptionState = xEvent;
 }
コード例 #3
0
		public JournalDescriptionStateViewModel(JournalDescriptionState journalDescriptionState, List<string> distinctDatabaseDescriptions)
		{
			JournalDescriptionState = journalDescriptionState;
            IsEnabled = distinctDatabaseDescriptions.Any(x => x == journalDescriptionState.Name);
		}