1 write to Model
Microsoft.AspNetCore.Components.Forms (1)
FieldIdentifier.cs (1)
53
Model
= model;
20 references to Model
BasicTestApp (1)
FormsTest\CustomFieldCssClassProvider.cs (1)
18
var propertyInfo = fieldIdentifier.
Model
.GetType().GetProperty(fieldIdentifier.FieldName);
Microsoft.AspNetCore.Components.Forms (6)
EditContextDataAnnotationsExtensions.cs (3)
89
var propertyValue = propertyInfo.GetValue(fieldIdentifier.
Model
);
90
var validationContext = new ValidationContext(fieldIdentifier.
Model
, _serviceProvider, items: null)
157
var cacheKey = (ModelType: fieldIdentifier.
Model
.GetType(), fieldIdentifier.FieldName);
FieldIdentifier.cs (3)
74
var modelHash = RuntimeHelpers.GetHashCode(
Model
);
91
return ReferenceEquals(otherIdentifier.
Model
,
Model
) &&
Microsoft.AspNetCore.Components.Forms.Tests (13)
EditContextTest.cs (1)
32
Assert.Same(model, fieldIdentifier.
Model
);
FieldIdentifierTest.cs (12)
49
Assert.Same(model, fieldIdentifier.
Model
);
138
Assert.Same(model, fieldIdentifier.
Model
);
174
Assert.Same(model, fieldIdentifier.
Model
);
186
Assert.Same(model, fieldIdentifier.
Model
);
194
Assert.Same(this, fieldIdentifier.
Model
);
203
Assert.Same(parentModel.Child, fieldIdentifier.
Model
);
212
Assert.Same(models[1], fieldIdentifier.
Model
);
221
Assert.Same(model, fieldIdentifier.
Model
);
229
Assert.Same(model, fieldIdentifier.
Model
);
242
Assert.Same(Model2, fieldIdentifier.
Model
);
254
Assert.Same(model3, fieldIdentifier.
Model
);
262
Assert.Same(@ÖvrigAnställning, fieldIdentifier.
Model
);