C# Class ReCommendedExtension.ContextActions.CodeContracts.Internal.PropertyContractInfo

Inheritance: ContractInfo
Mostra file Open project: prodot/ReCommended-Extension Class Usage Examples

Public Methods

Method Description
AddContracts ( ICSharpContextActionDataProvider provider, IExpression>.Func getContractExpression, ICollection &firstNonContractStatements ) : void
GetContractIdentifierForUI ( ) : string
TryCreate ( [ declaration, TreeTextRange selectedTreeRange, bool>.[ isAvailableForType ) : PropertyContractInfo

Private Methods

Method Description
PropertyContractInfo ( ContractKind contractKind, [ declaration, [ type ) : System

Method Details

AddContracts() public method

public AddContracts ( ICSharpContextActionDataProvider provider, IExpression>.Func getContractExpression, ICollection &firstNonContractStatements ) : void
provider ICSharpContextActionDataProvider
getContractExpression IExpression>.Func
firstNonContractStatements ICollection
return void

GetContractIdentifierForUI() public method

public GetContractIdentifierForUI ( ) : string
return string

TryCreate() public static method

public static TryCreate ( [ declaration, TreeTextRange selectedTreeRange, bool>.[ isAvailableForType ) : PropertyContractInfo
declaration [
selectedTreeRange TreeTextRange
isAvailableForType bool>.[
return PropertyContractInfo