/// <summary> /// Return event selection model. /// </summary> /// <param Name="selectedDimensions"></param> public static EventSelectionModel GetInstance() { if (_instance == null) { _instance = new EventSelectionModel(); } if (_instance.SelectedDimensions == null) { _instance.SelectedDimensions = new List <SelectedDimension>(); } return(_instance); }
/// <summary> /// Return event selection model. /// </summary> /// <param Name="selectedDimensions"></param> public static EventSelectionModel GetInstance() { if (_instance == null) { _instance = new EventSelectionModel(); } if (_instance.SelectedDimensions == null) { _instance.SelectedDimensions = new List<SelectedDimension>(); } return _instance; }