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

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 ) : MethodContractInfo

Private Methods

Méthode Description
MethodContractInfo ( [ 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 ) : MethodContractInfo
declaration [
selectedTreeRange TreeTextRange
isAvailableForType bool>.[
Résultat MethodContractInfo