C# Class Repository.TilgangsKontroll

Mostrar archivo Open project: bouvet/BBR2015 Class Usage Examples

Private Properties

Property Type Description
LagKodeKombinasjon string

Public Methods

Method Description
ErDeltakerKodeIBruk ( string kodeForSpiller ) : bool
ErGyldigMatchId ( string id ) : bool
ErLagKodeIBruk ( string hemmeligKodeForLag ) : bool
HentAlleHemmeligeKoder ( ) : dynamic
HentAlleKodeKombinasjoner ( ) : string
HentAlleLagIder ( ) : List
HentDeltakerNavn ( string deltakerId ) : string
HentLagNavn ( string lagId ) : string
Nullstill ( ) : void
SjekkTilgang ( string lagKode, string deltakerKode ) : KontrollResultat
TilgangsKontroll ( DataContextFactory dataContextFactory ) : System

Private Methods

Method Description
LagKodeKombinasjon ( string lagKode, string deltakerKode ) : string

Method Details

ErDeltakerKodeIBruk() public method

public ErDeltakerKodeIBruk ( string kodeForSpiller ) : bool
kodeForSpiller string
return bool

ErGyldigMatchId() public method

public ErGyldigMatchId ( string id ) : bool
id string
return bool

ErLagKodeIBruk() public method

public ErLagKodeIBruk ( string hemmeligKodeForLag ) : bool
hemmeligKodeForLag string
return bool

HentAlleHemmeligeKoder() public method

public HentAlleHemmeligeKoder ( ) : dynamic
return dynamic

HentAlleKodeKombinasjoner() public method

public HentAlleKodeKombinasjoner ( ) : string
return string

HentAlleLagIder() public method

public HentAlleLagIder ( ) : List
return List

HentDeltakerNavn() public method

public HentDeltakerNavn ( string deltakerId ) : string
deltakerId string
return string

HentLagNavn() public method

public HentLagNavn ( string lagId ) : string
lagId string
return string

Nullstill() public method

public Nullstill ( ) : void
return void

SjekkTilgang() public method

public SjekkTilgang ( string lagKode, string deltakerKode ) : KontrollResultat
lagKode string
deltakerKode string
return KontrollResultat

TilgangsKontroll() public method

public TilgangsKontroll ( DataContextFactory dataContextFactory ) : System
dataContextFactory Database.DataContextFactory
return System