3 overrides of DesignTime
Microsoft.AspNetCore.Razor.Language.UnitTests (3)
IntegrationTests\ComponentCodeGenerationTestBase.cs (1)
33
internal override bool
DesignTime
=> designTime;
IntegrationTests\ComponentPreprocessorDirectiveTest.cs (1)
20
internal override bool
DesignTime
=> designTime;
IntegrationTests\ComponentTypingTest.cs (1)
14
internal override bool
DesignTime
=> true;
6 references to DesignTime
Microsoft.AspNetCore.Razor.Test.Common (6)
Language\IntegrationTests\RazorBaselineIntegrationTestBase.cs (1)
157
if (
DesignTime
)
Language\IntegrationTests\RazorIntegrationTestBase.cs (5)
246
if (DeclarationOnly &&
DesignTime
)
248
throw new InvalidOperationException($"{nameof(DeclarationOnly)} cannot be used with {nameof(
DesignTime
)}.");
306
codeDocument =
DesignTime
? projectEngine.ProcessDesignTime(item) : projectEngine.Process(item);
316
codeDocument =
DesignTime
? projectEngine.ProcessDesignTime(projectItem) : projectEngine.Process(projectItem);
339
else if (
DesignTime
)