36 references to Create
Microsoft.AspNetCore.Components.Forms (7)
EditContext.cs (3)
179=> GetValidationMessages(FieldIdentifier.Create(accessor)); 196=> IsModified(FieldIdentifier.Create(accessor)); 211=> IsValid(FieldIdentifier.Create(accessor));
ValidationMessageStore.cs (4)
39=> Add(FieldIdentifier.Create(accessor), message); 55=> Add(FieldIdentifier.Create(accessor), messages); 75=> this[FieldIdentifier.Create(accessor)]; 95=> Clear(FieldIdentifier.Create(accessor));
Microsoft.AspNetCore.Components.Forms.Tests (12)
FieldIdentifierTest.cs (12)
137var fieldIdentifier = FieldIdentifier.Create(() => model.StringProperty); 165FieldIdentifier.Create(() => new TestModel())); 173var fieldIdentifier = FieldIdentifier.Create(() => model.StringField); 185var fieldIdentifier = FieldIdentifier.Create(accessor); 193var fieldIdentifier = FieldIdentifier.Create(() => StringPropertyOnThisClass); 202var fieldIdentifier = FieldIdentifier.Create(() => parentModel.Child.StringField); 211var fieldIdentifier = FieldIdentifier.Create(() => models[1].StringField); 220var fieldIdentifier = FieldIdentifier.Create(() => ((TestModel)(object)model).StringField); 228var fieldIdentifier = FieldIdentifier.Create(() => model.Field); 241var fieldIdentifier = FieldIdentifier.Create(() => Model2.Property); 253var fieldIdentifier = FieldIdentifier.Create(() => model3.Value); 261var fieldIdentifier = FieldIdentifier.Create(() => @ÖvrigAnställning.Ort);
Microsoft.AspNetCore.Components.Web (3)
Forms\EditContextFieldClassExtensions.cs (1)
24=> FieldCssClass(editContext, FieldIdentifier.Create(accessor));
Forms\InputBase.cs (1)
239FieldIdentifier = FieldIdentifier.Create(ValueExpression);
Forms\ValidationMessage.cs (1)
56_fieldIdentifier = FieldIdentifier.Create(For);
Microsoft.AspNetCore.Components.Web.Tests (14)
Forms\InputBaseTest.cs (11)
91Assert.Equal(FieldIdentifier.Create(() => model.StringProperty), inputComponent.FieldIdentifier); 209var fieldIdentifier = FieldIdentifier.Create(() => model.StringProperty); 247var fieldIdentifier = FieldIdentifier.Create(() => model.StringProperty); 287var fieldIdentifier = FieldIdentifier.Create(() => model.DateProperty); 317var fieldIdentifier = FieldIdentifier.Create(() => model.DateProperty); 350var fieldIdentifier = FieldIdentifier.Create(() => model.DateProperty); 374var fieldIdentifier = FieldIdentifier.Create(() => model.StringProperty); 410var fieldIdentifier = FieldIdentifier.Create(() => model.StringProperty); 439var fieldIdentifier = FieldIdentifier.Create(() => model.StringProperty); 474var fieldIdentifier = FieldIdentifier.Create(() => model.StringProperty); 503var fieldIdentifier = FieldIdentifier.Create(() => model.StringProperty);
Forms\InputDateTest.cs (1)
22var fieldIdentifier = FieldIdentifier.Create(() => model.DateProperty);
Forms\InputNumberTest.cs (1)
37var fieldIdentifier = FieldIdentifier.Create(() => model.SomeNumber);
Forms\InputSelectTest.cs (1)
180var fieldIdentifier = FieldIdentifier.Create(() => model.NotNullableInt);