C# Class UI_Project.NewViewModel

Inheritance: ViewModelBase
Afficher le fichier Open project: KFreon/CSharpImageLibrary Class Usage Examples

Private Properties

Свойство Type Description
CloseImage void
DoBulkParallel Task
GetPixels byte[]
LoadImage Task
LoadImage Task
RedrawEitherPreview void
UpdateLoadedPreview void
UpdatePreview void
UpdateUI void

Méthodes publiques

Méthode Description
DoBulkConvert ( ) : Task
FixExtension ( bool indicateSavePathPropertyChanged = false ) : void
NewViewModel ( ) : CSharpImageLibrary
UpdateSavePreview ( bool needRegenerate = true ) : Task

Private Methods

Méthode Description
CloseImage ( bool updateUI ) : void
DoBulkParallel ( ) : Task
GetPixels ( MipMap mip ) : byte[]
LoadImage ( string path ) : Task
LoadImage ( byte data ) : Task
RedrawEitherPreview ( System.Windows.Media.Imaging.WriteableBitmap bmp, byte pixels, int width, int height ) : void
UpdateLoadedPreview ( ) : void
UpdatePreview ( System.Windows.Media.Imaging.WriteableBitmap &bmp, int width, int height, byte pixels ) : void
UpdateUI ( ) : void

Method Details

DoBulkConvert() public méthode

public DoBulkConvert ( ) : Task
Résultat Task

FixExtension() public méthode

public FixExtension ( bool indicateSavePathPropertyChanged = false ) : void
indicateSavePathPropertyChanged bool
Résultat void

NewViewModel() public méthode

public NewViewModel ( ) : CSharpImageLibrary
Résultat CSharpImageLibrary

UpdateSavePreview() public méthode

public UpdateSavePreview ( bool needRegenerate = true ) : Task
needRegenerate bool
Résultat Task