25 references to StringProperty
Microsoft.AspNetCore.Components.Web.Tests (25)
Forms\InputBaseTest.cs (25)
16
var rootComponent = new TestInputHostComponent<string, TestInputComponent<string>> { EditContext = new EditContext(model), ValueExpression = () => model.
StringProperty
};
46
ValueExpression = () => model.
StringProperty
65
ValueExpression = () => model.
StringProperty
84
ValueExpression = () => model.
StringProperty
91
Assert.Equal(FieldIdentifier.Create(() => model.
StringProperty
), inputComponent.FieldIdentifier);
103
ValueExpression = () => model.
StringProperty
143
ValueExpression = () => model.
StringProperty
166
ValueExpression = () => model.
StringProperty
187
ValueExpression = () => model.
StringProperty
190
Assert.False(rootComponent.EditContext.IsModified(() => model.
StringProperty
));
196
Assert.True(rootComponent.EditContext.IsModified(() => model.
StringProperty
));
207
ValueExpression = () => model.
StringProperty
209
var fieldIdentifier = FieldIdentifier.Create(() => model.
StringProperty
);
245
ValueExpression = () => model.
StringProperty
247
var fieldIdentifier = FieldIdentifier.Create(() => model.
StringProperty
);
372
ValueExpression = () => model.
StringProperty
374
var fieldIdentifier = FieldIdentifier.Create(() => model.
StringProperty
);
408
ValueExpression = () => model.
StringProperty
410
var fieldIdentifier = FieldIdentifier.Create(() => model.
StringProperty
);
436
ValueExpression = () => model.
StringProperty
439
var fieldIdentifier = FieldIdentifier.Create(() => model.
StringProperty
);
469
ValueExpression = () => model.
StringProperty
474
var fieldIdentifier = FieldIdentifier.Create(() => model.
StringProperty
);
501
ValueExpression = () => model.
StringProperty
503
var fieldIdentifier = FieldIdentifier.Create(() => model.
StringProperty
);