C# Class Repository.TilgangsKontroll

Afficher le fichier Open project: bouvet/BBR2015 Class Usage Examples

Private Properties

Свойство Type Description
LagKodeKombinasjon string

Méthodes publiques

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

Méthode Description
LagKodeKombinasjon ( string lagKode, string deltakerKode ) : string

Method Details

ErDeltakerKodeIBruk() public méthode

public ErDeltakerKodeIBruk ( string kodeForSpiller ) : bool
kodeForSpiller string
Résultat bool

ErGyldigMatchId() public méthode

public ErGyldigMatchId ( string id ) : bool
id string
Résultat bool

ErLagKodeIBruk() public méthode

public ErLagKodeIBruk ( string hemmeligKodeForLag ) : bool
hemmeligKodeForLag string
Résultat bool

HentAlleHemmeligeKoder() public méthode

public HentAlleHemmeligeKoder ( ) : dynamic
Résultat dynamic

HentAlleKodeKombinasjoner() public méthode

public HentAlleKodeKombinasjoner ( ) : string
Résultat string

HentAlleLagIder() public méthode

public HentAlleLagIder ( ) : List
Résultat List

HentDeltakerNavn() public méthode

public HentDeltakerNavn ( string deltakerId ) : string
deltakerId string
Résultat string

HentLagNavn() public méthode

public HentLagNavn ( string lagId ) : string
lagId string
Résultat string

Nullstill() public méthode

public Nullstill ( ) : void
Résultat void

SjekkTilgang() public méthode

public SjekkTilgang ( string lagKode, string deltakerKode ) : KontrollResultat
lagKode string
deltakerKode string
Résultat KontrollResultat

TilgangsKontroll() public méthode

public TilgangsKontroll ( DataContextFactory dataContextFactory ) : System
dataContextFactory Database.DataContextFactory
Résultat System