C# Class ReCommendedExtension.ContextActions.CodeContracts.AddContractContextAction

Inheritance: ContextActionBase
Show file Open project: prodot/ReCommended-Extension

Private Properties

Property Type Description
AddAnnotation void
AddContractContextAction System
GetContractTextForUI string
GetExpression IExpression

Public Methods

Method Description
IsAvailable ( JetBrains cache ) : bool

Protected Methods

Method Description
ExecutePsiTransaction ( ISolution solution, IProgressIndicator progress ) : Action
IsAvailableForType ( [ type ) : bool
TryGetAnnotationAttributeTypeName ( ) : string

Private Methods

Method Description
AddAnnotation ( ) : void
AddContractContextAction ( [ provider ) : System
GetContractTextForUI ( [ contractIdentifier ) : string
GetExpression ( [ factory, [ contractExpression ) : IExpression

Method Details

ExecutePsiTransaction() protected final method

protected final ExecutePsiTransaction ( ISolution solution, IProgressIndicator progress ) : Action
solution ISolution
progress IProgressIndicator
return Action

IsAvailable() public method

public IsAvailable ( JetBrains cache ) : bool
cache JetBrains
return bool

IsAvailableForType() protected abstract method

protected abstract IsAvailableForType ( [ type ) : bool
type [
return bool

TryGetAnnotationAttributeTypeName() protected method

protected TryGetAnnotationAttributeTypeName ( ) : string
return string