Skip to content

Commit

Permalink
Make OrderId [Parameter] public
Browse files Browse the repository at this point in the history
  • Loading branch information
SteveSandersonMS committed Sep 24, 2019
1 parent 1ebf251 commit 4e8a2d8
Show file tree
Hide file tree
Showing 7 changed files with 8 additions and 8 deletions.
4 changes: 2 additions & 2 deletions docs/02-customize-a-pizza.md
Original file line number Diff line number Diff line change
Expand Up @@ -265,8 +265,8 @@ The Cancel and Order buttons don't do anything yet. We need some way to communic
Add two parameters to the `ConfigurePizzaDialog` component: `OnCancel` and `OnConfirm`. Both parameters should be of type `EventCallback`.

```csharp
[Parameter] EventCallback OnCancel { get; set; }
[Parameter] EventCallback OnConfirm { get; set; }
[Parameter] public EventCallback OnCancel { get; set; }
[Parameter] public EventCallback OnConfirm { get; set; }
```

Add `@onclick` event handlers to the `ConfigurePizzaDialog` that trigger the `OnCancel` and `OnConfirm` events.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@
</div>

@functions {
[Parameter] int OrderId { get; set; }
[Parameter] public int OrderId { get; set; }

OrderWithStatus orderWithStatus;
bool invalidOrder;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@
</div>

@functions {
[Parameter] int OrderId { get; set; }
[Parameter] public int OrderId { get; set; }

OrderWithStatus orderWithStatus;
bool invalidOrder;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@
</div>

@functions {
[Parameter] int OrderId { get; set; }
[Parameter] public int OrderId { get; set; }

OrderWithStatus orderWithStatus;
bool invalidOrder;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@
</div>

@functions {
[Parameter] int OrderId { get; set; }
[Parameter] public int OrderId { get; set; }

OrderWithStatus orderWithStatus;
bool invalidOrder;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@
</div>

@functions {
[Parameter] int OrderId { get; set; }
[Parameter] public int OrderId { get; set; }

OrderWithStatus orderWithStatus;
bool invalidOrder;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@
</div>

@functions {
[Parameter] int OrderId { get; set; }
[Parameter] public int OrderId { get; set; }

OrderWithStatus orderWithStatus;
bool invalidOrder;
Expand Down

0 comments on commit 4e8a2d8

Please sign in to comment.