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

Inheritance: ContractInfo
Afficher le fichier Open project: prodot/ReCommended-Extension Class Usage Examples

Méthodes publiques

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

Private Methods

Méthode Description
PropertyContractInfo ( ContractKind contractKind, [ declaration, [ type ) : System

Method Details

AddContracts() public méthode

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

GetContractIdentifierForUI() public méthode

public GetContractIdentifierForUI ( ) : string
Résultat string

TryCreate() public static méthode

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