C# Class Repository.MeldingService

Show file Open project: bouvet/BBR2015 Class Usage Examples

Public Methods

Method Description
HentMeldinger ( string lagId, long sekvensIfra, int maksAntall = Constants.Meldinger.MaxAntallUtenSekvensId ) : IEnumerable
MeldingService ( DataContextFactory dataContextFactory, TilgangsKontroll tilgangsKontroll ) : System
PostMelding ( string deltakerId, string lagId, string meldingstekst ) : void
PostMeldingTilAlle ( string deltakerId, string tekst ) : void

Method Details

HentMeldinger() public method

public HentMeldinger ( string lagId, long sekvensIfra, int maksAntall = Constants.Meldinger.MaxAntallUtenSekvensId ) : IEnumerable
lagId string
sekvensIfra long
maksAntall int
return IEnumerable

MeldingService() public method

public MeldingService ( DataContextFactory dataContextFactory, TilgangsKontroll tilgangsKontroll ) : System
dataContextFactory Database.DataContextFactory
tilgangsKontroll TilgangsKontroll
return System

PostMelding() public method

public PostMelding ( string deltakerId, string lagId, string meldingstekst ) : void
deltakerId string
lagId string
meldingstekst string
return void

PostMeldingTilAlle() public method

public PostMeldingTilAlle ( string deltakerId, string tekst ) : void
deltakerId string
tekst string
return void