C# 클래스 MixinRefactoring.Test.ValidationHelpers

파일 보기 프로젝트 열기: pgenfer/mixinSharp

공개 메소드들

메소드 설명
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