FloatValueStatistic.FindOrCreate 方法

定义

重载

FindOrCreate(StatisticName, Func<Single>)
FindOrCreate(StatisticName, Func<Single>, CounterStorage)

FindOrCreate(StatisticName, Func<Single>)

Source:
FloatValueStatistic.cs
public static Orleans.Runtime.FloatValueStatistic FindOrCreate (Orleans.Runtime.StatisticName name, Func<float> f);
static member FindOrCreate : Orleans.Runtime.StatisticName * Func<single> -> Orleans.Runtime.FloatValueStatistic
Public Shared Function FindOrCreate (name As StatisticName, f As Func(Of Single)) As FloatValueStatistic

参数

返回

适用于

FindOrCreate(StatisticName, Func<Single>, CounterStorage)

Source:
FloatValueStatistic.cs
public static Orleans.Runtime.FloatValueStatistic FindOrCreate (Orleans.Runtime.StatisticName name, Func<float> f, Orleans.Runtime.CounterStorage storage);
static member FindOrCreate : Orleans.Runtime.StatisticName * Func<single> * Orleans.Runtime.CounterStorage -> Orleans.Runtime.FloatValueStatistic
Public Shared Function FindOrCreate (name As StatisticName, f As Func(Of Single), storage As CounterStorage) As FloatValueStatistic

参数

storage
CounterStorage

返回

适用于