Skip to content

Commit

Permalink
Fix typos in samples
Browse files Browse the repository at this point in the history
  • Loading branch information
pascalberger committed Nov 21, 2019
1 parent 63c7ef7 commit 91d4564
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion docs/input/docs/getting-started/fundamentals.md
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,7 @@ Switch case blocks do not fulfill this principle.
public void Foo(FooEnum fooEnum)
{
switch (fooEnum)
{
case FooEnum.Foo1:
Bar1();
break;
Expand Down Expand Up @@ -114,7 +115,7 @@ public class Foo

public void Foo(FooEnum fooEnum)
{
var barStrategy = this.FooStrategyFactory.GetStrategy(fooEnum);
var barStrategy = this.FooStrategyProvider.GetStrategy(fooEnum);
barStrategy.Bar();
}
}
Expand Down

0 comments on commit 91d4564

Please sign in to comment.