Invention Grant
US07770160B2 System and method for declaring a resource within a markup document
有权
用于在标记文档中声明资源的系统和方法
- Patent Title: System and method for declaring a resource within a markup document
- Patent Title (中): 用于在标记文档中声明资源的系统和方法
-
Application No.: US11028986Application Date: 2005-01-03
-
Publication No.: US07770160B2Publication Date: 2010-08-03
- Inventor: Sundaram Ramani , Roger F. Grambihler , Robert A. Relyea , Jeffrey L. Bogdan
- Applicant: Sundaram Ramani , Roger F. Grambihler , Robert A. Relyea , Jeffrey L. Bogdan
- Applicant Address: US WA Redmond
- Assignee: Microsoft Corporation
- Current Assignee: Microsoft Corporation
- Current Assignee Address: US WA Redmond
- Agency: Merchant & Gould, P.C.
- Main IPC: G06F9/45
- IPC: G06F9/45

Abstract:
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.
Public/Granted literature
- US20050119993A1 System and method for declaring a resource within a markup document Public/Granted day:2005-06-02
Information query