64 references to IsContentModified
Microsoft.AspNetCore.Mvc.TagHelpers (4)
LabelTagHelper.cs (1)
67if (!output.IsContentModified)
OptionTagHelper.cs (1)
103if (output.IsContentModified)
ValidationMessageTagHelper.cs (2)
74if (!output.IsContentModified) 99if (!output.IsContentModified && tagBuilder.HasInnerHtml)
Microsoft.AspNetCore.Mvc.TagHelpers.Test (59)
CacheTagHelperTest.cs (20)
85Assert.True(tagHelperOutput.IsContentModified); 114Assert.True(tagHelperOutput1.IsContentModified); 136Assert.True(tagHelperOutput2.IsContentModified); 164Assert.True(tagHelperOutput1.IsContentModified); 186Assert.True(tagHelperOutput2.IsContentModified); 247Assert.True(tagHelperOutput1.IsContentModified); 349Assert.True(tagHelperOutput1.IsContentModified); 371Assert.True(tagHelperOutput2.IsContentModified); 402Assert.True(tagHelperOutput1.IsContentModified); 424Assert.True(tagHelperOutput2.IsContentModified); 455Assert.True(tagHelperOutput1.IsContentModified); 477Assert.True(tagHelperOutput2.IsContentModified); 611Assert.True(tagHelperOutput1.IsContentModified); 616Assert.True(tagHelperOutput2.IsContentModified); 694Assert.False(tagHelperOutput1.IsContentModified); 699Assert.True(tagHelperOutput2.IsContentModified); 758Assert.False(tagHelperOutput1.IsContentModified); 770Assert.False(tagHelperOutput2.IsContentModified); 782Assert.True(tagHelperOutput3.IsContentModified); 794Assert.True(tagHelperOutput4.IsContentModified);
DistributedCacheTagHelperTest.cs (15)
108Assert.True(tagHelperOutput.IsContentModified); 157Assert.True(tagHelperOutput1.IsContentModified); 182Assert.True(tagHelperOutput2.IsContentModified); 216Assert.True(tagHelperOutput1.IsContentModified); 240Assert.True(tagHelperOutput2.IsContentModified); 379Assert.True(tagHelperOutput1.IsContentModified); 403Assert.True(tagHelperOutput2.IsContentModified); 441Assert.True(tagHelperOutput1.IsContentModified); 465Assert.True(tagHelperOutput2.IsContentModified); 503Assert.True(tagHelperOutput1.IsContentModified); 527Assert.True(tagHelperOutput2.IsContentModified); 614Assert.True(tagHelperOutput1.IsContentModified); 619Assert.True(tagHelperOutput2.IsContentModified); 706Assert.False(tagHelperOutput1.IsContentModified); 711Assert.True(tagHelperOutput2.IsContentModified);
EnvironmentTagHelperTest.cs (4)
103Assert.False(output.IsContentModified); 150Assert.True(output.IsContentModified); 183Assert.True(output.IsContentModified); 205Assert.False(output.IsContentModified);
FormActionTagHelperTest.cs (2)
81Assert.False(output.IsContentModified); 155Assert.False(output.IsContentModified);
InputTagHelperTest.cs (9)
392Assert.False(output.IsContentModified); 448Assert.False(output.IsContentModified); 499Assert.False(output.IsContentModified); 555Assert.False(output.IsContentModified); 955Assert.False(output.IsContentModified); 1015Assert.False(output.IsContentModified); 1075Assert.False(output.IsContentModified); 1135Assert.False(output.IsContentModified); 1378Assert.False(output.IsContentModified);
LinkTagHelperTest.cs (4)
318Assert.False(output.IsContentModified); 405Assert.True(output.IsContentModified); 541Assert.False(output.IsContentModified); 560Assert.False(output.IsContentModified);
ScriptTagHelperTest.cs (4)
294Assert.False(output.IsContentModified); 381Assert.True(output.IsContentModified); 469Assert.False(output.IsContentModified); 489Assert.False(output.IsContentModified);
SelectTagHelperTest.cs (1)
772Assert.False(output.IsContentModified);
Microsoft.AspNetCore.Razor.Runtime (1)
Runtime\TagHelpers\TagHelperExecutionContext.cs (1)
221Debug.Assert(!Output.IsContentModified);