Skip to content

Commit b8d3cd3

Browse files
committed
readme
1 parent 4acb473 commit b8d3cd3

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

src/Danom.Mvc/README.md

-2
Original file line numberDiff line numberDiff line change
@@ -119,8 +119,6 @@ public sealed class ResultController
119119

120120
## View
121121

122-
### Option
123-
124122
While not explicitly part of the `Danom.Mvc` library, there are some patterns that make rendering the `Option` type easier in Razor views. Two methods from the base library are especially valuable: `TryGet` and `ToString`.
125123

126124
The `TryGet` method is used to extract the value from an `Option` type. If the `Option` is `Some`, the value is assigned to the `out` parameter and the method returns `true`. If the `Option` is `None`, the method returns `false`.

0 commit comments

Comments
 (0)