3 writes to Value
Microsoft.AspNetCore.Mvc.Core (1)
Infrastructure\CompatibilitySwitch.cs (1)
122
set =>
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)
96
set => _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>.
121
get =>
Value
;
Microsoft.AspNetCore.Mvc.Core.Test (5)
Infrastructure\CompatibilitySwitchTest.cs (4)
15
Assert.False(@switch.
Value
);
26
Assert.True(@switch.
Value
);
40
Assert.False(@switch.
Value
);
54
Assert.True(@switch.
Value
);
Infrastructure\ConfigureCompatibilityOptionsTest.cs (1)
95
get => _testProperty.
Value
;