Created
March 25, 2018 20:31
LiveBindings Demo Type Aliases
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ These Type Aliases accomplish two things: | |
1. They eliminate the need to key the cumbersome generic notation every time the type is used | |
2. They provide meaningful names in place of confusing names used by Live Bindings } | |
CorpObjectBSWrapper = TObjectBindSourceAdapter<TCorp>; // the corporate object wrapper | |
BranchListBSWrapper = TListBindSourceAdapter<TBranch>; // the branch object list wrapper | |
EmployeeListBSWrapper = TListBindSourceAdapter<TEmployee>; // the employee object list wrapper |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
These Type Aliases are intended to both clarify the objects used by LiveBindings and encapsulate the generic types into less cumbersome name.