48 references to AttributeValue
Microsoft.AspNetCore.Components (1)
RenderTree\RenderTreeFrame.cs (1)
463return $"Attribute: (seq={Sequence}, id={AttributeEventHandlerId}) '{AttributeName}'='{AttributeValue}'";
Microsoft.AspNetCore.Components.Authorization.Tests (5)
src\Components\Shared\test\AssertFrame.cs (5)
52Assert.Equal(attributeValue, frame.AttributeValue); 58Assert.Equal(attributeEventHandlerValue, frame.AttributeValue); 64Assert.Equal(attributeValue, frame.AttributeValue); 70Assert.IsType(valueType, frame.AttributeValue); 76attributeValidator(frame.AttributeValue);
Microsoft.AspNetCore.Components.Forms.Tests (5)
src\Components\Shared\test\AssertFrame.cs (5)
52Assert.Equal(attributeValue, frame.AttributeValue); 58Assert.Equal(attributeEventHandlerValue, frame.AttributeValue); 64Assert.Equal(attributeValue, frame.AttributeValue); 70Assert.IsType(valueType, frame.AttributeValue); 76attributeValidator(frame.AttributeValue);
Microsoft.AspNetCore.Components.Server (2)
src\Components\Shared\src\RenderBatchWriter.cs (2)
146if (frame.AttributeValue is bool boolValue) 159var attributeValueString = frame.AttributeValue as string;
Microsoft.AspNetCore.Components.Tests (20)
RendererTest.cs (15)
555.First(frame => frame.AttributeValue != null) 585.First(frame => frame.AttributeValue != null) 613.First(frame => frame.AttributeValue != null) 636.First(frame => frame.AttributeValue != null) 659.First(frame => frame.AttributeValue != null) 682.First(frame => frame.AttributeValue != null) 708.First(frame => frame.AttributeValue != null) 739.First(frame => frame.AttributeValue != null) 768.First(frame => frame.AttributeValue != null) 808.First(frame => frame.AttributeValue != null) 846.First(frame => frame.AttributeValue != null) 889.First(frame => frame.AttributeValue != null) 932.First(frame => frame.AttributeValue != null) 986.First(frame => frame.AttributeValue != null) 3507.First(frame => frame.AttributeValue != null)
src\Components\Shared\test\AssertFrame.cs (5)
52Assert.Equal(attributeValue, frame.AttributeValue); 58Assert.Equal(attributeEventHandlerValue, frame.AttributeValue); 64Assert.Equal(attributeValue, frame.AttributeValue); 70Assert.IsType(valueType, frame.AttributeValue); 76attributeValidator(frame.AttributeValue);
Microsoft.AspNetCore.Components.Web (3)
HtmlRendering\StaticHtmlRenderer.HtmlWriting.cs (3)
309capturedValueAttribute = frame.AttributeValue as string; 318!string.IsNullOrEmpty(frame.AttributeValue as string)) 323switch (frame.AttributeValue)
Microsoft.AspNetCore.Components.Web.Tests (6)
Forms\EditFormTest.cs (1)
200.ToDictionary(f => f.AttributeName, f => f.AttributeValue);
src\Components\Shared\test\AssertFrame.cs (5)
52Assert.Equal(attributeValue, frame.AttributeValue); 58Assert.Equal(attributeEventHandlerValue, frame.AttributeValue); 64Assert.Equal(attributeValue, frame.AttributeValue); 70Assert.IsType(valueType, frame.AttributeValue); 76attributeValidator(frame.AttributeValue);
Microsoft.AspNetCore.Components.WebView (2)
src\Components\Shared\src\RenderBatchWriter.cs (2)
146if (frame.AttributeValue is bool boolValue) 159var attributeValueString = frame.AttributeValue as string;
Microsoft.AspNetCore.Components.WebView.Test (4)
Infrastructure\TestDocument.cs (4)
345attributeFrame.AttributeValue); 371var value = attributeFrame.AttributeValue; 386var value = attributeFrame.AttributeValue; 407var value = attributeFrame.AttributeValue;