Sampler using KiiUser attributes. This uses current login KiiUser ID to randomise the variation.
See Also: Inherited members from object.
|
Initializes a new instance of the KiiCorp.Cloud.ABTesting.VariationSamplerByKiiUser class. |
|
ChooseVariation
(KiiExperiment, Variation)Do sampling. Returns random variation based on the percentage configured in developer portal. If sampling is failed, returns the fallback. If the experiment has terminated and fixed variation has chosen, returns chosen variation. Returned variation is same as KiiExperiment.ChosenVariation |
Initializes a new instance of the KiiCorp.Cloud.ABTesting.VariationSamplerByKiiUser class.Syntax
public VariationSamplerByKiiUser ()Remarks
Requirements
Namespace: KiiCorp.Cloud.ABTesting
Assembly: KiiCloudStorageSDK (in KiiCloudStorageSDK.dll)
Assembly Versions: 3.2.10.0
Do sampling. Returns random variation based on the percentage configured in developer portal. If sampling is failed, returns the fallback. If the experiment has terminated and fixed variation has chosen, returns chosen variation. Returned variation is same as KiiExperiment.ChosenVariationSyntax
Parameters
- experiment
- that requires sampling.
- fallback
- The variation to return when failed to get the applied variation.
Returns
Applied variation for this time.Remarks
Requirements
Namespace: KiiCorp.Cloud.ABTesting
Assembly: KiiCloudStorageSDK (in KiiCloudStorageSDK.dll)
Assembly Versions: 3.2.10.0