C# Класс Pchp.CodeAnalysis.ConstantValueExtensions

Показать файл Открыть проект

Открытые методы

Метод Описание
ToConstantValueOrNull ( this value ) : ConstantValue

Tries to convert value to a ConstantValue if possible. Argument that doesn't have value or values which cannot be represented as ConstantValue causes a null reference to be returned.

Описание методов

ToConstantValueOrNull() публичный статический Метод

Tries to convert value to a ConstantValue if possible. Argument that doesn't have value or values which cannot be represented as ConstantValue causes a null reference to be returned.
public static ToConstantValueOrNull ( this value ) : ConstantValue
value this Optional boced value.
Результат ConstantValue