public ProfileMenuMediator(SelectedProfileModel selectedProfile) { HandleEvent <SelectedProfileModel, ProfileEventArgs>(SelectedProfileModel.EVENT_SELECTION_CHANGED, OnProfileSelected); HandleEvent <SelectedProfileModel, ProfileEventArgs>(SelectedProfileModel.EVENT_SELECTION_CLEARED, OnProfileUnselected); HandleEvent <SaveProfileCommand, ProfileEventArgs>(SaveProfileCommand.EVENT_PROFILE_CHANGES_SAVED, OnProfileSaved); HandleEvent <LayoutIOModel, SaveStatusEventArgs>(LayoutIOModel.EVENT_SAVE_STATUS, OnSaveStatusChanged); }
public ReloadDefaultHudDataCommand(LocationModel locationModel, PlaceHolderCollectionModel placeHolderCollection, SelectionModel selectionModel, LayoutIOModel layoutIO, SelectedProfileModel selectedProfile) { this.locationModel = locationModel; this.placeHolderCollection = placeHolderCollection; this.selectionModel = selectionModel; this.layoutIO = layoutIO; this.selectedProfile = selectedProfile; }
public SaveHudCommand(BaseEventArgs args, PlaceHolderCollectionModel placeholders, LocationModel location, LayoutIOModel layoutIO, Database database, SelectedProfileModel selectedProfile) { this.args = args; this.placeholders = placeholders; this.location = location; this.layoutIO = layoutIO; this.database = database; this.selectedProfile = selectedProfile; }
public ApplicationExitCommand(ApplicationExitEventArgs args, LayoutIOModel layoutIO, SelectedProfileModel selectedProfile, Database database, UserPreferencesModel preferences) { this.args = args; this.layoutIO = layoutIO; this.selectedProfile = selectedProfile; this.database = database; this.preferences = preferences; }
public DeleteProfileCommand(IntEventArgs args, CollectionModel <ProfileModel> profileCollection, SelectedProfileModel profileSelection, Database database, LocationModel location, LayoutIOModel layoutIO) { this.args = args; this.profileCollection = profileCollection; this.profileSelection = profileSelection; this.database = database; this.location = location; this.layoutIO = layoutIO; }
public SaveProfileCommand(SelectedProfileModel profileSelection, PlaceHolderCollectionModel placeholderCollection, LocationModel location, ScreenModel screen, Database database, LayoutIOModel layoutIO, GraphicalAssetFactory assetFactory) { this.profileSelection = profileSelection; this.placeholderCollection = placeholderCollection; this.location = location; this.screen = screen; this.database = database; this.layoutIO = layoutIO; this.assetFactory = assetFactory; }
public CreateProfileCommand(StringEventArgs args, CollectionModel <ProfileModel> profileCollection, Database database, LocationModel location, ScreenModel screen, PlaceHolderCollectionModel placeholderCollection, SelectedProfileModel selectedProfile, LayoutIOModel layoutIO, GraphicalAssetFactory assetsFactory) { this.args = args; this.profileCollection = profileCollection; this.database = database; this.location = location; this.screen = screen; this.placeholderCollection = placeholderCollection; this.selectedProfile = selectedProfile; this.layoutIO = layoutIO; this.assetsFactory = assetsFactory; }
public SelectProfileCommand(MenuButtonEventArgs args, CollectionModel <ProfileModel> profileCollection, SelectedProfileModel selectedProfile, CollectionModel <BackgroundModel> backgroundCollection, ScreenModel screen, LocationModel location, PlaceHolderCollectionModel placeholderCollection, SelectionModel selectionModel, LayoutIOModel layoutIO, GraphicalAssetFactory assetFactory, CollectionModel <MotecModel> motecCollection) { this.args = args; this.profileCollection = profileCollection; this.selectedProfile = selectedProfile; this.backgroundCollection = backgroundCollection; this.screen = screen; this.location = location; this.placeholderCollection = placeholderCollection; this.selectionModel = selectionModel; this.layoutIO = layoutIO; this.assetFactory = assetFactory; this.motecCollection = motecCollection; }
public InitializeProfilesCommand(Database database, CollectionModel <ProfileModel> collection, SelectedProfileModel selection) { this.database = database; this.collection = collection; this.selection = selection; }