Update index.md to fix emphasis of a word (#29192)

Fixed "Publish/Subscribe" in "Observer pattern" section. The initial letter "P" was not included in the emphasis markdown.
This commit is contained in:
Jeff Whetstone
2019-01-16 09:04:57 -05:00
committed by Tom
parent 846a221493
commit 54404fd35b

View File

@ -15,7 +15,7 @@ Examples of this type of design pattern include:
5. **Mediator pattern**: Provides a unified interface to a set of interfaces in a subsystem. 5. **Mediator pattern**: Provides a unified interface to a set of interfaces in a subsystem.
6. **Memento pattern**: Provides the ability to restore an object to its previous state (rollback). 6. **Memento pattern**: Provides the ability to restore an object to its previous state (rollback).
7. **Null Object pattern**: Designed to act as a default value of an object. 7. **Null Object pattern**: Designed to act as a default value of an object.
8. **Observer pattern**: a.k.a. P**ublish/Subscribe** or **Event Listener**. Objects register to observe an event that may be raised by another object. 8. **Observer pattern**: a.k.a. **Publish/Subscribe** or **Event Listener**. Objects register to observe an event that may be raised by another object.
9. **Weak reference pattern**: De-couple an observer from an observable event. 9. **Weak reference pattern**: De-couple an observer from an observable event.
10. **Protocol stack**: Communications are handled by multiple layers, which form an encapsulation hierarchy. 10. **Protocol stack**: Communications are handled by multiple layers, which form an encapsulation hierarchy.
11. **Scheduled-task pattern**: A task is scheduled to be performed at a particular interval or clock time (used in real-time computing). 11. **Scheduled-task pattern**: A task is scheduled to be performed at a particular interval or clock time (used in real-time computing).