public CounterMetric(IMdmCumulativeMetric <TDimensionValues, ulong> cumulativeMetric, Dimensions dimensions) { CumulativeMetric = cumulativeMetric ?? throw new ArgumentNullException(nameof(cumulativeMetric)); if (dimensions != null) { _keyHashStr = dimensions.KeyHashStr; _valueHashStr = dimensions.ValueHashStr; } }
public Counter (IMdmCumulativeMetric <DimensionValues0D, ulong> cumulativeMetric ) { CumulativeMetric = cumulativeMetric ?? throw new ArgumentNullException(nameof(cumulativeMetric)); _staticKeyArray = new string[0]; _staticValArray = new string[0]; _dynamicKeyArray = new string[0]; _dynamicValArray = new string[0]; }
public CounterS1D0 (IMdmCumulativeMetric <DimensionValues1D, ulong> cumulativeMetric , string s1) { CumulativeMetric = cumulativeMetric ?? throw new ArgumentNullException(nameof(cumulativeMetric)); _staticKeyArray = new string[1]; _staticValArray = new string[1]; _dynamicKeyArray = new string[0]; _dynamicValArray = new string[0]; _staticKeyArray[0] = "s1"; _staticValArray[0] = s1; }
public Counter10D( IMdmCumulativeMetric <DimensionValues10D, ulong> cumulativeMetric) { CumulativeMetric = cumulativeMetric ?? throw new ArgumentNullException(nameof(cumulativeMetric)); }