| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
The Deck represents a Layout combined with one or more References. The Deck class is also currently responsible with Definition translation.
On export of files the Deck.TranslateFileNameString method provides a way to translate the target file name.
Deck.TranslateString translates a Definition string and caches it to avoid wasting cycles reprocessing an unchanged Defintion. The order of translation is critical and should not be adjusted (without extreme care).
Deck.GetOverrideElement provides functionality that combines an Element with any overrides configured in the reference. The final rendered Element is the combination of the two.
Deck.SetAndLoadLayout is responsible for adjusting the currently associated Layout and loading any related references. In the future it would best if Reference loading were handled outside of this class for easier unit testing.
| Back | FazBrowse Home | New Git URL |