C# 클래스 Repository.PosisjonsService

파일 보기 프로젝트 열기: bouvet/BBR2015 1 사용 예제들

Private Properties

프로퍼티 타입 설명
ErForKortEllerHyppig bool
LagrePosisjonTilDatabasen void
TilEksternDeltakerPosisjon EksternDeltakerPosisjon

공개 메소드들

메소드 설명
HentforAlleLag ( string scoreboardSecret ) : List
HentforLag ( string lagId ) : LagPosisjoner
Nullstill ( ) : void
PosisjonsService ( DataContextFactory dataContextFactory, OverridableSettings appSettings ) : System
RegistrerPosisjon ( string lagId, string deltakerId, double latitude, double longitude ) : DeltakerPosisjon

보호된 메소드들

메소드 설명
HentFraDatabasen ( ) : EksternDeltakerPosisjon>.ConcurrentDictionary
Lagre ( DeltakerPosisjon posisjon ) : void

비공개 메소드들

메소드 설명
ErForKortEllerHyppig ( EksternDeltakerPosisjon forrige, DeltakerPosisjon posisjon ) : bool
LagrePosisjonTilDatabasen ( DeltakerPosisjon posisjon ) : void
TilEksternDeltakerPosisjon ( DeltakerPosisjon posisjon ) : EksternDeltakerPosisjon

메소드 상세

HentFraDatabasen() 보호된 메소드

protected HentFraDatabasen ( ) : EksternDeltakerPosisjon>.ConcurrentDictionary
리턴 EksternDeltakerPosisjon>.ConcurrentDictionary

HentforAlleLag() 공개 메소드

public HentforAlleLag ( string scoreboardSecret ) : List
scoreboardSecret string
리턴 List

HentforLag() 공개 메소드

public HentforLag ( string lagId ) : LagPosisjoner
lagId string
리턴 LagPosisjoner

Lagre() 보호된 메소드

protected Lagre ( DeltakerPosisjon posisjon ) : void
posisjon Database.Entities.DeltakerPosisjon
리턴 void

Nullstill() 공개 메소드

public Nullstill ( ) : void
리턴 void

PosisjonsService() 공개 메소드

public PosisjonsService ( DataContextFactory dataContextFactory, OverridableSettings appSettings ) : System
dataContextFactory Database.DataContextFactory
appSettings Database.OverridableSettings
리턴 System

RegistrerPosisjon() 공개 메소드

public RegistrerPosisjon ( string lagId, string deltakerId, double latitude, double longitude ) : DeltakerPosisjon
lagId string
deltakerId string
latitude double
longitude double
리턴 Database.Entities.DeltakerPosisjon