C# 클래스 Docary.Services.EntryService

상속: IEntryService
파일 보기 프로젝트 열기: JefClaes/Docary 1 사용 예제들

공개 메소드들

메소드 설명
AddEntry ( Entry entry ) : void
EntryService ( IEntryRepository entryRepository, ILocationRepository locationRepository, ITagRepository tagRepository, ITimelineColorService timelineColorService, ITimeService timeService, IScope scope ) : System
GetEntries ( System.DateTime createdOnMin, System.DateTime createdOnMax, string userId ) : IEnumerable
GetFirstRealEntry ( string userId ) : Entry
GetLatestEntry ( string userId ) : Entry
GetNumberOfEntries ( string userId ) : int

비공개 메소드들

메소드 설명
AddFirstOffTheGridEntry ( string userId, System.DateTime stoppedOn ) : void
AddLocationBasedOnEntry ( Entry entry ) : Location
AddOffTheGridLocation ( string userId ) : Location
AddOffTheGridTag ( string userId ) : EntryTag
AddTagBasedOnEntry ( Entry entry ) : EntryTag

메소드 상세

AddEntry() 공개 메소드

public AddEntry ( Entry entry ) : void
entry Docary.Models.Entry
리턴 void

EntryService() 공개 메소드

public EntryService ( IEntryRepository entryRepository, ILocationRepository locationRepository, ITagRepository tagRepository, ITimelineColorService timelineColorService, ITimeService timeService, IScope scope ) : System
entryRepository IEntryRepository
locationRepository ILocationRepository
tagRepository ITagRepository
timelineColorService ITimelineColorService
timeService ITimeService
scope IScope
리턴 System

GetEntries() 공개 메소드

public GetEntries ( System.DateTime createdOnMin, System.DateTime createdOnMax, string userId ) : IEnumerable
createdOnMin System.DateTime
createdOnMax System.DateTime
userId string
리턴 IEnumerable

GetFirstRealEntry() 공개 메소드

public GetFirstRealEntry ( string userId ) : Entry
userId string
리턴 Docary.Models.Entry

GetLatestEntry() 공개 메소드

public GetLatestEntry ( string userId ) : Entry
userId string
리턴 Docary.Models.Entry

GetNumberOfEntries() 공개 메소드

public GetNumberOfEntries ( string userId ) : int
userId string
리턴 int