FloatValueStatistic.FindOrCreate 方法
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
重载
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
参数
- name
- StatisticName
返回
适用于
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
参数
- name
- StatisticName
- storage
- CounterStorage