C# 클래스 Thinktecture.Tools.Web.Services.CodeGeneration.CodeDomExtensions

Extension methods to the CodeDom classes.
파일 보기 프로젝트 열기: WSCF/WSCF

공개 메소드들

메소드 설명
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