public void RemoveDecorator(IBrowsingSessionDecorator decorator)
        {
            var dd = decorators.Find(x => x == decorator);

            dd.OnRemove(this);
            decorators.Remove(dd);
        }
 public void RemoveDecorator(IBrowsingSessionDecorator decorator)
 {
     Parent.RemoveDecorator(decorator);
 }
 public void AddDecorator(IBrowsingSessionDecorator decorator)
 {
     Parent.AddDecorator(decorator);
 }
 public void AddDecorator(IBrowsingSessionDecorator decorator)
 {
     decorator.OnInit(this);
     decorators.Add(decorator);
 }