摘要:
A user interface (“UI”) control framework enables UI controls to be declaratively created inline with the HTML markup without having to write boilerplate JavaScript that would usually be needed with conventional UI control models. The UI control framework is architected to sit on top of existing WinJS (Windows Library for JavaScript) functionality and encapsulates behaviors that are common across many control implementations so that a single instance of a UI control template may be used to stamp out multiple control instances. The UI control framework separates layout from the “code behind” in the backing controls so that data binding can be implemented abstractly without explicit knowledge of the layout of the control and any of its child controls. The markup provides “anchor points” that allow the code to have direct access to a child control. Custom expando HTML attributes are utilized that place named properties on control instances.
摘要翻译:用户界面(“UI”)控件框架可以使UI控件与HTML标记一致地进行声明式创建,而无需编写常规UI控件模型通常需要的样板JavaScript。 UI控制框架被设计为位于现有的WinJS(Windows Library for JavaScript)功能之上,并封装了许多控件实现中通用的行为,以便可以使用UI控件模板的单个实例来消除多个控件实例。 UI控制框架将布局与后台控件中的“代码背后”分离,以便数据绑定可以抽象地实现,而不需要明确了解控件及其任何子控件的布局。 标记提供允许代码直接访问子控件的“锚点”。 使用自定义expando HTML属性,将命名属性放在控件实例上。
摘要:
Non-public software constructs within a portion of code may be made accessible by analyzing the code, locating non-public items such as classes, objects, data structures, methods, interfaces, arrays, and other items, and creating a public call for the item in an executable code. In some instances, a call may reference one or more non-public items and such a call may be a static call created at the same time as the function, or may be a dynamically created at runtime. The calls may handle non-public arrays within calls, generic calls, as well as calls using a non-public interface.