C# Class PackageExplorerViewModel.PackageViewModel

Inheritance: PackageExplorerViewModel.ViewModelBase
Show file Open project: grendello/nuget Class Usage Examples

Private Properties

Property Type Description
AddContentFileCanExecute bool
AddContentFileExecute void
AddContentFolderCanExecute bool
AddContentFolderExecute void
AddExistingFileToFolder void
AddFileToFolder void
AddNewFolderCanExecute bool
AddNewFolderExecute void
ApplyEditExecute bool
CancelEditExecute void
CloseContentViewer void
CommitEdit void
DeleteContentCanExecute bool
DeleteContentExecute void
EditPackageCanExecute bool
EditPackageExecute void
Export void
ExportCanExecute bool
ExportExecute void
ExportManifest void
GetCurrentPackageStream Stream
GetFiles IEnumerable
NotifyChanges void
NotifyContentDeleted void
OnSaved void
OpenContentFileCanExecute bool
OpenContentFileExecute void
PackageViewModel System
PublishCanExecute bool
PublishExecute void
RenameContentCanExecuted bool
RenameContentExecuted void
SaveContentExecute void

Public Methods

Method Description
AddDraggedAndDroppedFiles ( PackageExplorerViewModel.PackageFolder folder, string fileNames ) : void
BeginEdit ( ) : void
CancelEdit ( ) : void
ShowFile ( PackageExplorerViewModel.Types.FileContentInfo fileInfo ) : void

Private Methods

Method Description
AddContentFileCanExecute ( object parameter ) : bool
AddContentFileExecute ( object parameter ) : void
AddContentFolderCanExecute ( string folderName ) : bool
AddContentFolderExecute ( string folderName ) : void
AddExistingFileToFolder ( PackageExplorerViewModel.PackageFolder folder ) : void
AddFileToFolder ( PackageExplorerViewModel.PackageFolder folder, string file ) : void
AddNewFolderCanExecute ( object parameter ) : bool
AddNewFolderExecute ( object parameter ) : void
ApplyEditExecute ( ) : bool
CancelEditExecute ( ) : void
CloseContentViewer ( ) : void
CommitEdit ( ) : void
DeleteContentCanExecute ( object parameter ) : bool
DeleteContentExecute ( object parameter ) : void
EditPackageCanExecute ( ) : bool
EditPackageExecute ( ) : void
Export ( string rootPath ) : void
ExportCanExecute ( ) : bool
ExportExecute ( ) : void
ExportManifest ( string fullpath ) : void
GetCurrentPackageStream ( ) : Stream
GetFiles ( ) : IEnumerable
NotifyChanges ( ) : void
NotifyContentDeleted ( PackagePart packagePart ) : void
OnSaved ( string fileName ) : void
OpenContentFileCanExecute ( object parameter ) : bool
OpenContentFileExecute ( object parameter ) : void
PackageViewModel ( IPackage package, string source, IMruManager mruManager, IUIServices uiServices, IPackageEditorService editorService, ISettingsManager settingsManager ) : System
PublishCanExecute ( ) : bool
PublishExecute ( ) : void
RenameContentCanExecuted ( object parameter ) : bool
RenameContentExecuted ( object parameter ) : void
SaveContentExecute ( PackageFile file ) : void

Method Details

AddDraggedAndDroppedFiles() public method

public AddDraggedAndDroppedFiles ( PackageExplorerViewModel.PackageFolder folder, string fileNames ) : void
folder PackageExplorerViewModel.PackageFolder
fileNames string
return void

BeginEdit() public method

public BeginEdit ( ) : void
return void

CancelEdit() public method

public CancelEdit ( ) : void
return void

ShowFile() public method

public ShowFile ( PackageExplorerViewModel.Types.FileContentInfo fileInfo ) : void
fileInfo PackageExplorerViewModel.Types.FileContentInfo
return void