C# Class ABsoluteMaybe.Persistence.Xml.XmlExperimentCommands

Inheritance: IExperimentCommands
Afficher le fichier Open project: troygoode/ABsoluteMaybe

Méthodes publiques

Méthode Description
Convert ( string conversionKeyword, string userId ) : void
EndExperiment ( string experimentName, string alwaysUseOption ) : void
GetOrCreateExperiment ( string experimentName, IEnumerable options ) : ExperimentSummary
GetOrCreateExperiment ( string experimentName, string conversionKeyword, IEnumerable options ) : ExperimentSummary
GetOrCreateParticipationRecord ( string experimentName, Func chooseAnOptionForUser, string userId ) : ParticipationRecord
XmlExperimentCommands ( string pathToXmlStorage ) : System

Méthodes protégées

Méthode Description
Load ( ) : System.Xml.Linq.XDocument
Save ( System.Xml.Linq.XDocument xml ) : void

Method Details

Convert() public méthode

public Convert ( string conversionKeyword, string userId ) : void
conversionKeyword string
userId string
Résultat void

EndExperiment() public méthode

public EndExperiment ( string experimentName, string alwaysUseOption ) : void
experimentName string
alwaysUseOption string
Résultat void

GetOrCreateExperiment() public méthode

public GetOrCreateExperiment ( string experimentName, IEnumerable options ) : ExperimentSummary
experimentName string
options IEnumerable
Résultat ABsoluteMaybe.Domain.ExperimentSummary

GetOrCreateExperiment() public méthode

public GetOrCreateExperiment ( string experimentName, string conversionKeyword, IEnumerable options ) : ExperimentSummary
experimentName string
conversionKeyword string
options IEnumerable
Résultat ABsoluteMaybe.Domain.ExperimentSummary

GetOrCreateParticipationRecord() public méthode

public GetOrCreateParticipationRecord ( string experimentName, Func chooseAnOptionForUser, string userId ) : ParticipationRecord
experimentName string
chooseAnOptionForUser Func
userId string
Résultat ABsoluteMaybe.Domain.ParticipationRecord

Load() protected méthode

protected Load ( ) : System.Xml.Linq.XDocument
Résultat System.Xml.Linq.XDocument

Save() protected méthode

protected Save ( System.Xml.Linq.XDocument xml ) : void
xml System.Xml.Linq.XDocument
Résultat void

XmlExperimentCommands() public méthode

public XmlExperimentCommands ( string pathToXmlStorage ) : System
pathToXmlStorage string
Résultat System