C# 클래스 ABsoluteMaybe.Persistence.Xml.XmlExperimentCommands

상속: IExperimentCommands
파일 보기 프로젝트 열기: troygoode/ABsoluteMaybe

공개 메소드들

메소드 설명
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