C# Class ReCommendedExtension.ContextActions.CodeContracts.StringNotNullAndNotEmpty

Inheritance: AddContractContextAction
显示文件 Open project: prodot/ReCommended-Extension

Public Methods

Method Description
StringNotNullAndNotEmpty ( [ provider ) : JetBrains.Annotations

Protected Methods

Method Description
GetContractTextForUI ( string contractIdentifier ) : string
GetExpression ( CSharpElementFactory factory, IExpression contractExpression ) : IExpression
IsAvailableForType ( IType type ) : bool
TryGetAnnotationAttributeTypeName ( ) : string

Method Details

GetContractTextForUI() protected method

protected GetContractTextForUI ( string contractIdentifier ) : string
contractIdentifier string
return string

GetExpression() protected method

protected GetExpression ( CSharpElementFactory factory, IExpression contractExpression ) : IExpression
factory CSharpElementFactory
contractExpression IExpression
return IExpression

IsAvailableForType() protected method

protected IsAvailableForType ( IType type ) : bool
type IType
return bool

StringNotNullAndNotEmpty() public method

public StringNotNullAndNotEmpty ( [ provider ) : JetBrains.Annotations
provider [
return JetBrains.Annotations

TryGetAnnotationAttributeTypeName() protected method

protected TryGetAnnotationAttributeTypeName ( ) : string
return string