Duration 23:17

Stateless state machine (An Introduction for .NET Developers [.NET 5 and C])

9 659 watched
0
179
Published 1 Nov 2021

In this video, I am going to walk through how to use the Stateless State machine in C# for implementing the State Design pattern. Stateless is a very powerful yet simple state machine. The previous two videos in this Design Pattern series are: 1. Factory method design pattern: /watch/Mev8JpXBusCB8 2. Abstract factory design pattern: /watch/ww5RZ__kLZNkR 3. Builder design pattern: /watch/o0Ki7Xj7Lb17i 4. Prototype design pattern: /watch/0JJQnjNKwFOKQ 5. Adapter design pattern: /watch/sqrBr9kTpa0TB 6. Bridge design pattern: /watch/obfHwCFa466aH 7. Decorator design pattern: /watch/w9Kybkb3qS33y 8. Façade design pattern: /watch/oidSN3Cmm99mS 9. Flyweight design pattern: /watch/IIuMBAabQdLbM 10. Proxy design pattern: /watch/4TnnE-nT11HTn 11. State pattern: /watch/QaDGP7iNjhFNG My YouTube channel URL: /c/DotNetCoreCentral My Blog URL: https://dotnetcorecentral.com/ My GitHub repo: https://github.com/choudhurynirjhar

Category

Show more

Comments - 24
  • @
    @akjha6274 months ago Very well done. Excellent pace and explained it in a very simple way.
  • @
    @TheAceInfinity10 months ago I wasn' t sure about this video as i usually have issues understanding accents like this, but this one was made very clear and was laid out well with . ...Expand
  • @
    @metalhExx-geek-lair2 years ago Very well organized and clearon the state machine topics. Nice work. 1
  • @
    @s.z.87942 years ago Thanks. Excellent one. How to configure it for multiple iterations? Something like, if i fire acceleration 3 times, then the state should be stopped.
  • @
    @s.z.87942 years ago in , car.configure(Car.state.Stopped), in the permit, (Car.Action.Start,Car.state.stopped), was it right? Should not be car.state.started?
  • @
    @s.z.87942 years ago How to store/pass current sate and action to the machine so that based on the current state it can go to the next state?
  • @
    @baoshenyi2 years ago Great video. Could you please share your source code. I could not find in your github. 1