2 types derived from HasInstanceProperties
Microsoft.AspNetCore.Components.Tests (2)
7 instantiations of HasInstanceProperties
Microsoft.AspNetCore.Components.Tests (7)
22 references to HasInstanceProperties
Microsoft.AspNetCore.Components.Tests (22)
ParameterViewTest.Assignment.cs (22)
20{ nameof(HasInstanceProperties.IntProp), 123 },
21{ nameof(HasInstanceProperties.StringProp), "Hello" },
22{ HasInstanceProperties.ObjectPropName, someObject },
24var target = new HasInstanceProperties();
41{ nameof(HasInstanceProperties.IntProp).ToLowerInvariant(), 123 }
43var target = new HasInstanceProperties();
94var target = new HasInstanceProperties
251var target = new HasInstanceProperties();
253builder.Add(nameof(HasInstanceProperties.IntProp), 16, cascading: true);
261$"The property '{nameof(HasInstanceProperties.IntProp)}' on component type '{typeof(HasInstanceProperties).FullName}' " +
487builder.Add(nameof(HasInstanceProperties.IntProp), 16, cascading: true);
507{ nameof(HasInstanceProperties.IntProp), "string value" },
509var target = new HasInstanceProperties();
517$"Unable to set property '{nameof(HasInstanceProperties.IntProp)}' on object of " +
518$"type '{typeof(HasInstanceProperties).FullName}'. The error was: {ex.InnerException.Message}",
590{ nameof(HasInstanceProperties.IntProp), null },
591{ nameof(HasInstanceProperties.StringProp), null },
593var target = new HasInstanceProperties { IntProp = 123, StringProp = "Hello" };
615{ nameof(HasInstanceProperties.IntProp), 5 },
616{ nameof(HasInstanceProperties.StringProp), "Hello" },
618var target = new HasInstanceProperties();