常用方法
常用方法
常用方法
常用方法
public RoomListSiteViewModel(Models.Site modelSite, ISite campfireSite, IEventAggregator eventAggregator) { Rooms = new ObservableCollection<RoomViewModel>( campfireSite.GetRooms().Select(r => new RoomViewModel(campfireSite, modelSite, r, eventAggregator))); }