Share via


SumMetricDefinition Class

Definition

The definition of a Sum metric definition. Calculates the sum of a specified event property. Experiment analysis accounts for unequal traffic allocation.

public class SumMetricDefinition : Azure.Analytics.OnlineExperimentation.ExperimentMetricDefinition, System.ClientModel.Primitives.IJsonModel<Azure.Analytics.OnlineExperimentation.SumMetricDefinition>, System.ClientModel.Primitives.IPersistableModel<Azure.Analytics.OnlineExperimentation.SumMetricDefinition>
type SumMetricDefinition = class
    inherit ExperimentMetricDefinition
    interface IJsonModel<SumMetricDefinition>
    interface IPersistableModel<SumMetricDefinition>
Public Class SumMetricDefinition
Inherits ExperimentMetricDefinition
Implements IJsonModel(Of SumMetricDefinition), IPersistableModel(Of SumMetricDefinition)
Inheritance
SumMetricDefinition
Implements

Constructors

SumMetricDefinition(AggregatedValue)

Initializes a new instance of SumMetricDefinition.

SumMetricDefinition(String, String)

Initializes a new instance of SumMetricDefinition.

Properties

Value

The value to aggregate.

Methods

JsonModelWriteCore(Utf8JsonWriter, ModelReaderWriterOptions)

Explicit Interface Implementations

IJsonModel<ExperimentMetricDefinition>.Create(Utf8JsonReader, ModelReaderWriterOptions)

Reads one JSON value (including objects or arrays) from the provided reader and converts it to a model.

(Inherited from ExperimentMetricDefinition)
IJsonModel<ExperimentMetricDefinition>.Write(Utf8JsonWriter, ModelReaderWriterOptions)

Writes the model to the provided Utf8JsonWriter.

(Inherited from ExperimentMetricDefinition)
IJsonModel<SumMetricDefinition>.Create(Utf8JsonReader, ModelReaderWriterOptions)

Reads one JSON value (including objects or arrays) from the provided reader and converts it to a model.

IJsonModel<SumMetricDefinition>.Write(Utf8JsonWriter, ModelReaderWriterOptions)

Writes the model to the provided Utf8JsonWriter.

IPersistableModel<ExperimentMetricDefinition>.Create(BinaryData, ModelReaderWriterOptions)

Converts the provided BinaryData into a model.

(Inherited from ExperimentMetricDefinition)
IPersistableModel<ExperimentMetricDefinition>.GetFormatFromOptions(ModelReaderWriterOptions)

Gets the data interchange format (JSON, Xml, etc) that the model uses when communicating with the service.

(Inherited from ExperimentMetricDefinition)
IPersistableModel<ExperimentMetricDefinition>.Write(ModelReaderWriterOptions)

Writes the model into a BinaryData.

(Inherited from ExperimentMetricDefinition)
IPersistableModel<SumMetricDefinition>.Create(BinaryData, ModelReaderWriterOptions)

Converts the provided BinaryData into a model.

IPersistableModel<SumMetricDefinition>.GetFormatFromOptions(ModelReaderWriterOptions)

Gets the data interchange format (JSON, Xml, etc) that the model uses when communicating with the service.

IPersistableModel<SumMetricDefinition>.Write(ModelReaderWriterOptions)

Writes the model into a BinaryData.

Applies to