Part IV Flashcards
What’s the diffference between trigger and data trigger in WPF?
Trigger can only work on dependency properties while data triggers can have binding to any .NET property
What is a Freezable class? Where is it used?
A freezable class is mainly used in WPF. It’s a class that notifies about changes, it can be frozen - then it behaves as if it was immutable.
Can freezable class be unfrozen?
No it can’t be unfrozen but clone method can invoked on it. It creates a deep modifiable copy of the object.
How dependency property works? Why is it good?
It’s stored in static context of a dependency object. Only changed values are stored. It helps save memory.
List OSI layers and internet layers
OSI: application, presentation, session, transport, network, data link, physical. Internet: application, transport, network, network interfaces.
What is a test double?
It’s a generic name for all objects that are needed in tests and should behave as their real life counterpart only to facilitate testing (mock, fake object, dummy object)
What is a memo? Where is it used?
A memo is a value that is already computed and is used during computation, for example recursive fibonnaci.