@@ -63,11 +63,13 @@ class MicrosoftAspNetCoreMvcNonActionAttribute extends MicrosoftAspNetCoreMvcAtt
63
63
}
64
64
65
65
class MicrosoftAspNetCoreMvcNonControllerAttribute extends MicrosoftAspNetCoreMvcAttribute {
66
- MicrosoftAspNetCoreMvcNonControllerAttribute ( ) { getType ( ) .hasName ( "NonControllerAttribute" ) }
66
+ MicrosoftAspNetCoreMvcNonControllerAttribute ( ) {
67
+ this .getType ( ) .hasName ( "NonControllerAttribute" )
68
+ }
67
69
}
68
70
69
71
class MicrosoftAspNetCoreMvcControllerAttribute extends MicrosoftAspNetCoreMvcAttribute {
70
- MicrosoftAspNetCoreMvcControllerAttribute ( ) { getType ( ) .hasName ( "ControllerAttribute" ) }
72
+ MicrosoftAspNetCoreMvcControllerAttribute ( ) { this . getType ( ) .hasName ( "ControllerAttribute" ) }
71
73
}
72
74
73
75
/** The `Microsoft.AspNetCore.Antiforgery` namespace. */
@@ -194,11 +196,12 @@ class MicrosoftAspNetCoreMvcControllerBaseClass extends Class {
194
196
class MicrosoftAspNetCoreMvcController extends Class {
195
197
MicrosoftAspNetCoreMvcController ( ) {
196
198
(
197
- getABaseType * ( ) instanceof MicrosoftAspNetCoreMvcControllerBaseClass or
198
- getABaseType * ( ) .hasName ( "%Controller" ) or
199
- getABaseType * ( ) .getAnAttribute ( ) instanceof MicrosoftAspNetCoreMvcControllerAttribute
199
+ this . getABaseType * ( ) instanceof MicrosoftAspNetCoreMvcControllerBaseClass or
200
+ this . getABaseType * ( ) .hasName ( "%Controller" ) or
201
+ this . getABaseType * ( ) .getAnAttribute ( ) instanceof MicrosoftAspNetCoreMvcControllerAttribute
200
202
) and
201
- not getABaseType * ( ) .getAnAttribute ( ) instanceof MicrosoftAspNetCoreMvcNonControllerAttribute
203
+ not this .getABaseType * ( ) .getAnAttribute ( ) instanceof
204
+ MicrosoftAspNetCoreMvcNonControllerAttribute
202
205
}
203
206
204
207
/** Gets an action method for this controller. */
0 commit comments