Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions docs/articles/DesignPatterns.md
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,7 @@ public class MyContext : IStateContext

public void Initial()
{
StateMachine.Initialize<MyStateBase>(this);
StateMachine.Initialize(this).With<MyStateBase>();
//State is not Initial = A
_currentValue = 0;
}
Expand Down Expand Up @@ -167,7 +167,7 @@ The state machine will be initialized with the static helper class [StateMachine
````cs
private void InitializeMachine()
{
StateMachine.Initialize<MyStateBase>(this);
StateMachine.Initialize(this).With<MyStateBase>();
}
````

Expand Down
Loading