There was an error while loading. Please reload this page.
1 parent 7b09ae0 commit a396e5eCopy full SHA for a396e5e
README.md
@@ -1933,7 +1933,7 @@ class Monkey : IAnimal
1933
1934
public void Accept(IAnimalOperation operation)
1935
{
1936
- throw new NotImplementedException();
+ operation.VisitMonkey(this);
1937
}
1938
1939
@@ -1946,7 +1946,7 @@ class Lion : IAnimal
1946
1947
1948
1949
+ operation.VisitLion(this);
1950
1951
1952
@@ -1959,7 +1959,7 @@ class Dolphin : IAnimal
1959
1960
1961
1962
+ operation.VisitDolphin(this);
1963
1964
1965
```
0 commit comments