发明名称 System and method for declaring a resource within a markup document
摘要 Described is a system and method for declaring a resource element in markup that is intended to be instantiated lazily only upon use at run-time rather than always at markup load time. In one embodiment, the invention provides a parent resources tag that encloses resource elements that may be any type of markup element. On compile, a specially prepared compiler/parser identifies the Resource tag and creates definitional information sufficient to describe the resource elements in such a manner that the resource elements are defined but not created at run-time when the markup is first loaded, and are created only upon use at run-time. A resource may be defined to be shared or non-shared. If shared, the resource is instantiated only once and that same instance is handed out each time the resource is accessed. If non-shared, a new instance of the resource is always created and handed out on each access of the resource.
申请公布号 US7418659(B2) 申请公布日期 2008.08.26
申请号 US20030377582 申请日期 2003.02.28
申请人 MICROSOFT CORPORATION 发明人 RAMANI SUNDARAM;GRAMBIHLER ROGER F.;RELYEA ROBERT A.;BOGDAN JEFFREY L.
分类号 G06F15/00;G06F7/00;G06F9/45;G06F17/00 主分类号 G06F15/00
代理机构 代理人
主权项
地址