Creatio development guide
Это документация Creatio версии 7.9.0. Мы рекомендуем использовать новую версию документации.
T
Type to which the value received from the repository/cache is brought.

CacheStoreUtilities.GetValue(IBaseStore,String,T) - метод Смотри также  Terrasoft.Core.Store - пространство имен > CacheStoreUtilities - класс > GetValue - метод : GetValue(IBaseStore,String,T) - метод C#

source
Data storage or cache
key
Value key.
defaultValue
The default value that will be returned by a method if the value by key was not found in the storage/cache

Glossary Item Box

Gets the value by the key key from the data storage or cache and casts the obtained value to the appropriate type If the value cannot be found by key, the method returns set default value.

Синтаксис

[Extension()] 
public static T GetValue<T>( 
   IBaseStore source, 
   string key, 
   T defaultValue 
)

Параметры

source
Data storage or cache
key
Value key.
defaultValue
The default value that will be returned by a method if the value by key was not found in the storage/cache

Типы обобщений

T
Type to which the value received from the repository/cache is brought.

Тип возвращаемого значения

Value by the key key, brought to the T type or defaultValue, if the value is not found.

Смотри также

© Terrasoft 2002-2017.

Был ли данный материал полезен?

Как можно улучшить эту статью?