add: Template Define
This commit is contained in:
@@ -24,13 +24,9 @@ public abstract class PoloniumTask : Task
|
|||||||
if (argument.Expression is LiteralExpressionSyntax literal)
|
if (argument.Expression is LiteralExpressionSyntax literal)
|
||||||
{
|
{
|
||||||
if (literal.Kind() == SyntaxKind.TrueLiteralExpression)
|
if (literal.Kind() == SyntaxKind.TrueLiteralExpression)
|
||||||
{
|
|
||||||
return true;
|
return true;
|
||||||
}
|
|
||||||
if (literal.Kind() == SyntaxKind.FalseLiteralExpression)
|
if (literal.Kind() == SyntaxKind.FalseLiteralExpression)
|
||||||
{
|
|
||||||
return false;
|
return false;
|
||||||
}
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user