7 writes to
Microsoft.AspNetCore.Components.Forms.Tests (5)
EditContextTest.cs (5)
284
editContext.Properties
[
key1] = value1;
285
editContext.Properties
[
key2] = value2;
308
editContext.Properties
[
key1] = value1;
309
editContext.Properties
[
key2] = value2;
326
editContext.Properties
[
key] = value;
Microsoft.AspNetCore.Components.Web (2)
Forms\EditContextFieldClassExtensions.cs (1)
51
editContext.Properties
[
FieldCssClassProviderKey] = fieldCssClassProvider;
Forms\Mapping\EditContextFormMappingExtensions.cs (1)
17
context.Properties
[
_key] = mappingContext;
5 references to
Microsoft.AspNetCore.Components.Forms.Tests (5)
EditContextTest.cs (5)
281
Assert.Throws<KeyNotFoundException>(() => editContext.Properties
[
key1]);
286
Assert.Same(value1, editContext.Properties
[
key1]);
287
Assert.Same(value2, editContext.Properties
[
key2]);
290
Assert.Throws<KeyNotFoundException>(() => editContext.Properties
[
key3]);
336
Assert.Throws<KeyNotFoundException>(() => editContext.Properties
[
key]);