EngineeringSenior DeveloperArchitecture and Patterns

08 - Behavioral Design Patterns

Premium

Patterns quản lý hành vi và tương tác giữa objects: Strategy, Observer, Mediator, Chain of Responsibility, Specification.


Strategy - Thay Đổi Algorithm Runtime

csharp
public interface IDiscountStrategy
{
    bool CanApply(Order order);
    decimal Calculate(Order order);
Premium

Continue with premium access

08 - Behavioral Design Patterns is part of the premium library. Sign in with a premium account to unlock the full lesson and the rest of this track.

01 Full premium lesson access
02 Deeper implementation notes
03 Ongoing content updates