C# Class UI_Project.NewViewModel

Inheritance: ViewModelBase
Mostrar archivo Open project: KFreon/CSharpImageLibrary Class Usage Examples

Private Properties

Property Type Description
CloseImage void
DoBulkParallel Task
GetPixels byte[]
LoadImage Task
LoadImage Task
RedrawEitherPreview void
UpdateLoadedPreview void
UpdatePreview void
UpdateUI void

Public Methods

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

Private Methods

Method 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 method

public DoBulkConvert ( ) : Task
return Task

FixExtension() public method

public FixExtension ( bool indicateSavePathPropertyChanged = false ) : void
indicateSavePathPropertyChanged bool
return void

NewViewModel() public method

public NewViewModel ( ) : CSharpImageLibrary
return CSharpImageLibrary

UpdateSavePreview() public method

public UpdateSavePreview ( bool needRegenerate = true ) : Task
needRegenerate bool
return Task