C# 클래스 MTG_Scanner.VMs.MainWindowViewModel

상속: Notifier.Notifier
파일 보기 프로젝트 열기: RejectKid/MTG-Scanner 1 사용 예제들

공개 메소드들

메소드 설명
AddFileToImportList ( bool isFoil ) : void
ComparePHash ( MagicCard card ) : void
ComputePHashes ( string selectedPath, ProgressDialogController dialogController ) : void
ConvertBitMap ( Image cameraBitmap ) : System.Windows.Media.ImageSource

Converts a Bitmap image to an image source and freezes the img

MainWindowViewModel ( IUtil util, IXmlFileCreator xmlFileCreator, IWebcamController webcamController, ICardDatabase cardDatabase, ICardImportFileCreator cardImportFileCreator ) : System.Collections.Generic
SavePHashes ( string selectedPath, ProgressDialogController dialogController ) : string

비공개 메소드들

메소드 설명
GenerateThemeData ( ) : void

메소드 상세

AddFileToImportList() 공개 메소드

public AddFileToImportList ( bool isFoil ) : void
isFoil bool
리턴 void

ComparePHash() 공개 메소드

public ComparePHash ( MagicCard card ) : void
card MTG_Scanner.Models.MagicCard
리턴 void

ComputePHashes() 공개 메소드

public ComputePHashes ( string selectedPath, ProgressDialogController dialogController ) : void
selectedPath string
dialogController MahApps.Metro.Controls.Dialogs.ProgressDialogController
리턴 void

ConvertBitMap() 공개 메소드

Converts a Bitmap image to an image source and freezes the img
public ConvertBitMap ( Image cameraBitmap ) : System.Windows.Media.ImageSource
cameraBitmap System.Drawing.Image
리턴 System.Windows.Media.ImageSource

MainWindowViewModel() 공개 메소드

public MainWindowViewModel ( IUtil util, IXmlFileCreator xmlFileCreator, IWebcamController webcamController, ICardDatabase cardDatabase, ICardImportFileCreator cardImportFileCreator ) : System.Collections.Generic
util IUtil
xmlFileCreator IXmlFileCreator
webcamController IWebcamController
cardDatabase ICardDatabase
cardImportFileCreator ICardImportFileCreator
리턴 System.Collections.Generic

SavePHashes() 공개 메소드

public SavePHashes ( string selectedPath, ProgressDialogController dialogController ) : string
selectedPath string
dialogController MahApps.Metro.Controls.Dialogs.ProgressDialogController
리턴 string