C# 클래스 PredictiveCodeSuggestions.Generators.GeneratorExtensions

Defines the GeneratorExtensions class.
파일 보기 프로젝트 열기: JakobChristensen/Resharper.PredictiveCodeSuggestions

공개 메소드들

메소드 설명
CanGenerateAssert ( this dataContext ) : bool

Determines whether this instance [can generate assert] the specified data context.

CanGenerateClassMember ( [ dataContext, string>.[ parameters ) : bool

Determines whether this instance [can generate class member] the specified data context.

CanGenerateEmptyFile ( [ dataContext, string>.[ parameters ) : bool

Determines whether this instance [can generate empty file] the specified data context.

CanGenerateInsideMethod ( [ dataContext, string>.[ parameters ) : bool

Determines whether [is class member] [the specified data context].

CanGenerateInterfaceMember ( [ dataContext ) : bool

Determines whether this instance [can generate interface member] the specified data context.

CanGenerateInvocation ( [ dataContext, string>.[ parameters, [ statement ) : bool

Determines whether this instance [can generate after invocation] the specified data context.

CanGenerateReturn ( this dataContext ) : bool

Determines whether [is after last statement] [the specified data context].

CanGenerateStructMember ( [ dataContext, string>.[ parameters ) : bool

Determines whether this instance [can generate struct member] the specified data context.

CanGenerateSwitchCase ( [ dataContext ) : bool

Determines whether this instance [can generate switch case] the specified data context.

CanGenerateType ( [ dataContext ) : bool

Determines whether this instance [can generate type] the specified data context.

GetAssignmentExpression ( [ dataContext, string>.Dictionary parameters, [ statement ) : bool

Gets the assignment expression.

GetIterator ( [ dataContext, string>.Dictionary parameters, [ statement ) : bool

Determines whether this instance [can generate iterator] the specified data context.

GetLocalVariableDeclaration ( [ dataContext, string>.Dictionary parameters, [ statement ) : bool

Determines whether this instance [can generate after variable] the specified data context.

비공개 메소드들

메소드 설명
GetModifier ( ITreeNode treeNode, IClassLikeDeclaration classDeclaration ) : string

Gets the modifier.

GetNextStatement ( [ context ) : IStatement
GetNextStatement ( [ block, [ treeNode ) : IStatement
GetPreviousStatement ( [ context ) : IStatement
GetPreviousStatement ( [ block, [ treeNode ) : IStatement

메소드 상세

CanGenerateAssert() 공개 정적인 메소드

Determines whether this instance [can generate assert] the specified data context.
public static CanGenerateAssert ( this dataContext ) : bool
dataContext this The data context.
리턴 bool

CanGenerateClassMember() 공개 정적인 메소드

Determines whether this instance [can generate class member] the specified data context.
public static CanGenerateClassMember ( [ dataContext, string>.[ parameters ) : bool
dataContext [ The data context.
parameters string>.[ The parameters.
리턴 bool

CanGenerateEmptyFile() 공개 정적인 메소드

Determines whether this instance [can generate empty file] the specified data context.
public static CanGenerateEmptyFile ( [ dataContext, string>.[ parameters ) : bool
dataContext [ The data context.
parameters string>.[ The parameters.
리턴 bool

CanGenerateInsideMethod() 공개 정적인 메소드

Determines whether [is class member] [the specified data context].
public static CanGenerateInsideMethod ( [ dataContext, string>.[ parameters ) : bool
dataContext [ The data context.
parameters string>.[ The parameters.
리턴 bool

CanGenerateInterfaceMember() 공개 정적인 메소드

Determines whether this instance [can generate interface member] the specified data context.
public static CanGenerateInterfaceMember ( [ dataContext ) : bool
dataContext [ The data context.
리턴 bool

CanGenerateInvocation() 공개 정적인 메소드

Determines whether this instance [can generate after invocation] the specified data context.
public static CanGenerateInvocation ( [ dataContext, string>.[ parameters, [ statement ) : bool
dataContext [ The data context.
parameters string>.[ The parameters.
statement [ The statement.
리턴 bool

CanGenerateReturn() 공개 정적인 메소드

Determines whether [is after last statement] [the specified data context].
public static CanGenerateReturn ( this dataContext ) : bool
dataContext this The data context.
리턴 bool

CanGenerateStructMember() 공개 정적인 메소드

Determines whether this instance [can generate struct member] the specified data context.
public static CanGenerateStructMember ( [ dataContext, string>.[ parameters ) : bool
dataContext [ The data context.
parameters string>.[ The parameters.
리턴 bool

CanGenerateSwitchCase() 공개 정적인 메소드

Determines whether this instance [can generate switch case] the specified data context.
public static CanGenerateSwitchCase ( [ dataContext ) : bool
dataContext [ The data context.
리턴 bool

CanGenerateType() 공개 정적인 메소드

Determines whether this instance [can generate type] the specified data context.
public static CanGenerateType ( [ dataContext ) : bool
dataContext [ The data context.
리턴 bool

GetAssignmentExpression() 공개 정적인 메소드

Gets the assignment expression.
public static GetAssignmentExpression ( [ dataContext, string>.Dictionary parameters, [ statement ) : bool
dataContext [ The data context.
parameters string>.Dictionary The parameters.
statement [ The statement.
리턴 bool

GetIterator() 공개 정적인 메소드

Determines whether this instance [can generate iterator] the specified data context.
public static GetIterator ( [ dataContext, string>.Dictionary parameters, [ statement ) : bool
dataContext [ The data context.
parameters string>.Dictionary The parameters.
statement [ The statement.
리턴 bool

GetLocalVariableDeclaration() 공개 정적인 메소드

Determines whether this instance [can generate after variable] the specified data context.
public static GetLocalVariableDeclaration ( [ dataContext, string>.Dictionary parameters, [ statement ) : bool
dataContext [ The data context.
parameters string>.Dictionary The parameters.
statement [ The statement.
리턴 bool