3 writes to Value
Microsoft.AspNetCore.Mvc.Core (1)
Infrastructure\CompatibilitySwitch.cs (1)
122set => Value = (TValue)value;
Microsoft.AspNetCore.Mvc.Core.Test (2)
Infrastructure\CompatibilitySwitchTest.cs (1)
37@switch.Value = false; // You don't need to actually change the value, just calling the setting works
Infrastructure\ConfigureCompatibilityOptionsTest.cs (1)
96set => _testProperty.Value = value;
8 references to Value
Microsoft.AspNetCore.Mvc.Core (3)
Infrastructure\CompatibilitySwitch.cs (3)
87/// Gets a value indicating whether the <see cref="Value"/> property has been set. 104/// Setting the switch value using <see cref="Value"/> will set <see cref="IsValueSet"/> to <c>true</c>. 121get => Value;
Microsoft.AspNetCore.Mvc.Core.Test (5)
Infrastructure\CompatibilitySwitchTest.cs (4)
15Assert.False(@switch.Value); 26Assert.True(@switch.Value); 40Assert.False(@switch.Value); 54Assert.True(@switch.Value);
Infrastructure\ConfigureCompatibilityOptionsTest.cs (1)
95get => _testProperty.Value;