C# Класс MixinRefactoring.Test.ValidationHelpers

Показать файл Открыть проект

Открытые методы

Метод Описание
HasSameDocumentation ( Microsoft.CodeAnalysis.SyntaxNode classDeclaration, MixinReference mixin ) : bool

checks if the documentation from the class member is the same as the one from the mixin member. This only works if both have only one member

IsPropertyBetweenRegion ( Microsoft.CodeAnalysis.CSharp.Syntax.ClassDeclarationSyntax classDeclaration, string regionName, string propertyName ) : bool

checks if a property with the given name is enclosed by a region with the given name

Описание методов

HasSameDocumentation() публичный статический Метод

checks if the documentation from the class member is the same as the one from the mixin member. This only works if both have only one member
public static HasSameDocumentation ( Microsoft.CodeAnalysis.SyntaxNode classDeclaration, MixinReference mixin ) : bool
classDeclaration Microsoft.CodeAnalysis.SyntaxNode
mixin MixinReference
Результат bool

IsPropertyBetweenRegion() публичный статический Метод

checks if a property with the given name is enclosed by a region with the given name
public static IsPropertyBetweenRegion ( Microsoft.CodeAnalysis.CSharp.Syntax.ClassDeclarationSyntax classDeclaration, string regionName, string propertyName ) : bool
classDeclaration Microsoft.CodeAnalysis.CSharp.Syntax.ClassDeclarationSyntax
regionName string
propertyName string
Результат bool