C# Класс Thinktecture.Tools.Web.Services.CodeGeneration.CodeDomExtensions

Extension methods to the CodeDom classes.
Показать файл Открыть проект

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

Метод Описание
CloseNullableType ( this reference ) : Type

Creates a closed generic nullable type from the current CodeTypeReference.

FindArgument ( this attributeDeclaration, string argumentName ) : CodeAttributeArgument

Finds an argument in an attribute declaration.

The argument name is case-sensitive.

IsNullableType ( this reference ) : bool

Tests if the CodeTypeReference represents a Nullable type.

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

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

Creates a closed generic nullable type from the current CodeTypeReference.
Thrown if the code type reference does not represent a nullable type.
public static CloseNullableType ( this reference ) : Type
reference this The code type reference.
Результат System.Type

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

Finds an argument in an attribute declaration.
The argument name is case-sensitive.
public static FindArgument ( this attributeDeclaration, string argumentName ) : CodeAttributeArgument
attributeDeclaration this The attribute declaration.
argumentName string Name of the argument.
Результат System.CodeDom.CodeAttributeArgument

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

Tests if the CodeTypeReference represents a Nullable type.
public static IsNullableType ( this reference ) : bool
reference this The code type reference.
Результат bool