C# 클래스 SoundFingerprinting.ModelService

상속: IModelService
파일 보기 프로젝트 열기: AddictedCS/soundfingerprinting

공개 메소드들

메소드 설명
ContainsTrack ( string isrc, string artist, string title ) : bool
DeleteTrack ( IModelReference trackReference ) : int
InsertHashDataForTrack ( IEnumerable hashes, IModelReference trackReference ) : void
InsertTrack ( SoundFingerprinting.Data.TrackData track ) : IModelReference
ReadAllTracks ( ) : IList
ReadHashedFingerprintsByTrack ( IModelReference trackReference ) : IList
ReadSubFingerprints ( long hashBins, QueryConfiguration config ) : IList
ReadSubFingerprints ( IEnumerable hashes, QueryConfiguration config ) : ISet
ReadTrackByArtistAndTitleName ( string artist, string title ) : IList
ReadTrackByISRC ( string isrc ) : SoundFingerprinting.Data.TrackData
ReadTrackByReference ( IModelReference trackReference ) : SoundFingerprinting.Data.TrackData

보호된 메소드들

메소드 설명
ModelService ( ITrackDao trackDao, ISubFingerprintDao subFingerprintDao ) : System.Collections.Generic

메소드 상세

ContainsTrack() 공개 메소드

public ContainsTrack ( string isrc, string artist, string title ) : bool
isrc string
artist string
title string
리턴 bool

DeleteTrack() 공개 메소드

public DeleteTrack ( IModelReference trackReference ) : int
trackReference IModelReference
리턴 int

InsertHashDataForTrack() 공개 메소드

public InsertHashDataForTrack ( IEnumerable hashes, IModelReference trackReference ) : void
hashes IEnumerable
trackReference IModelReference
리턴 void

InsertTrack() 공개 메소드

public InsertTrack ( SoundFingerprinting.Data.TrackData track ) : IModelReference
track SoundFingerprinting.Data.TrackData
리턴 IModelReference

ModelService() 보호된 메소드

protected ModelService ( ITrackDao trackDao, ISubFingerprintDao subFingerprintDao ) : System.Collections.Generic
trackDao ITrackDao
subFingerprintDao ISubFingerprintDao
리턴 System.Collections.Generic

ReadAllTracks() 공개 메소드

public ReadAllTracks ( ) : IList
리턴 IList

ReadHashedFingerprintsByTrack() 공개 메소드

public ReadHashedFingerprintsByTrack ( IModelReference trackReference ) : IList
trackReference IModelReference
리턴 IList

ReadSubFingerprints() 공개 메소드

public ReadSubFingerprints ( long hashBins, QueryConfiguration config ) : IList
hashBins long
config QueryConfiguration
리턴 IList

ReadSubFingerprints() 공개 메소드

public ReadSubFingerprints ( IEnumerable hashes, QueryConfiguration config ) : ISet
hashes IEnumerable
config QueryConfiguration
리턴 ISet

ReadTrackByArtistAndTitleName() 공개 메소드

public ReadTrackByArtistAndTitleName ( string artist, string title ) : IList
artist string
title string
리턴 IList

ReadTrackByISRC() 공개 메소드

public ReadTrackByISRC ( string isrc ) : SoundFingerprinting.Data.TrackData
isrc string
리턴 SoundFingerprinting.Data.TrackData

ReadTrackByReference() 공개 메소드

public ReadTrackByReference ( IModelReference trackReference ) : SoundFingerprinting.Data.TrackData
trackReference IModelReference
리턴 SoundFingerprinting.Data.TrackData