C# Class Docary.Services.EntryService

Inheritance: IEntryService
Afficher le fichier Open project: JefClaes/Docary Class Usage Examples

Méthodes publiques

Méthode Description
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

Private Methods

Méthode Description
AddFirstOffTheGridEntry ( string userId, System.DateTime stoppedOn ) : void
AddLocationBasedOnEntry ( Entry entry ) : Location
AddOffTheGridLocation ( string userId ) : Location
AddOffTheGridTag ( string userId ) : EntryTag
AddTagBasedOnEntry ( Entry entry ) : EntryTag

Method Details

AddEntry() public méthode

public AddEntry ( Entry entry ) : void
entry Docary.Models.Entry
Résultat void

EntryService() public méthode

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
Résultat System

GetEntries() public méthode

public GetEntries ( System.DateTime createdOnMin, System.DateTime createdOnMax, string userId ) : IEnumerable
createdOnMin System.DateTime
createdOnMax System.DateTime
userId string
Résultat IEnumerable

GetFirstRealEntry() public méthode

public GetFirstRealEntry ( string userId ) : Entry
userId string
Résultat Docary.Models.Entry

GetLatestEntry() public méthode

public GetLatestEntry ( string userId ) : Entry
userId string
Résultat Docary.Models.Entry

GetNumberOfEntries() public méthode

public GetNumberOfEntries ( string userId ) : int
userId string
Résultat int