C# Класс ABsoluteMaybe.Persistence.Xml.XmlExperimentCommands

Наследование: IExperimentCommands
Показать файл Открыть проект

Открытые методы

Метод Описание
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

Защищенные методы

Метод Описание
Load ( ) : System.Xml.Linq.XDocument
Save ( System.Xml.Linq.XDocument xml ) : void

Описание методов

Convert() публичный метод

public Convert ( string conversionKeyword, string userId ) : void
conversionKeyword string
userId string
Результат void

EndExperiment() публичный метод

public EndExperiment ( string experimentName, string alwaysUseOption ) : void
experimentName string
alwaysUseOption string
Результат void

GetOrCreateExperiment() публичный метод

public GetOrCreateExperiment ( string experimentName, IEnumerable options ) : ExperimentSummary
experimentName string
options IEnumerable
Результат ABsoluteMaybe.Domain.ExperimentSummary

GetOrCreateExperiment() публичный метод

public GetOrCreateExperiment ( string experimentName, string conversionKeyword, IEnumerable options ) : ExperimentSummary
experimentName string
conversionKeyword string
options IEnumerable
Результат ABsoluteMaybe.Domain.ExperimentSummary

GetOrCreateParticipationRecord() публичный метод

public GetOrCreateParticipationRecord ( string experimentName, Func chooseAnOptionForUser, string userId ) : ParticipationRecord
experimentName string
chooseAnOptionForUser Func
userId string
Результат ABsoluteMaybe.Domain.ParticipationRecord

Load() защищенный метод

protected Load ( ) : System.Xml.Linq.XDocument
Результат System.Xml.Linq.XDocument

Save() защищенный метод

protected Save ( System.Xml.Linq.XDocument xml ) : void
xml System.Xml.Linq.XDocument
Результат void

XmlExperimentCommands() публичный метод

public XmlExperimentCommands ( string pathToXmlStorage ) : System
pathToXmlStorage string
Результат System