public LevelBDecorator(IDecorated nested) => _nested = nested;
public Decorator2(IDecorated decorated) { Assert.NotNull(decorated); Decorated = decorated; }
public GenericImproperDecoratorK1(IDecorated <int> nested) => _nested = nested;
// The decorator should always accept an abstract type // or interface of the type to be decorated public DecoratorBase(IDecorated decorated) { this.decorated = decorated; }
public GenericLevelDDecorator(IDecorated <T> nested) => _nested = nested;
public DecoratorForAny(IDecorated <T> decorated) { Assert.NotNull(decorated); Decorated = decorated; }
public DecoratorX(IDecorated i_Decorated) : base(i_Decorated) { }
public Decorator(IDecorated i_Decorated) { m_Decorated = i_Decorated; }
public DecoratorBaseTest(IDecorated mockOfIDecorated) : base(mockOfIDecorated) /* ... */ }