发明申请
- 专利标题: Mechanism for handling input parameters
- 专利标题(中): 处理输入参数的机制
-
申请号: US10883373申请日: 2004-06-30
-
公开(公告)号: US20050091420A1公开(公告)日: 2005-04-28
- 发明人: Jeffrey Snover , James Truher
- 申请人: Jeffrey Snover , James Truher
- 申请人地址: US WA Redmond
- 专利权人: Microsoft Corporation
- 当前专利权人: Microsoft Corporation
- 当前专利权人地址: US WA Redmond
- 主分类号: G06F3/00
- IPC分类号: G06F3/00 ; G06F9/44 ; G06F9/445
摘要:
The present mechanism provides a grammar for specifying required prerequisites (e.g., number and type of input parameters) that an object must possess in order for processing to occur on the object. The mechanism allows programmers and non-programmers to easily specify these prerequisites. The prerequisites may be associated directly or indirectly with a data structure. For a direct specification, the data structure comprises a parameter declaration for each expected input parameter. For an indirect specification, the data structure comprises a parameter definition that references an external description, such as in an XML document. The data structure also providing a mechanism that identifies a corresponding parameter within an input source for each expected input parameter based on its declaration. The input source does not include live objects. The mechanism further populates each expected input parameter with information associated with the corresponding parameter when the data structure becomes instantiated into an object.
信息查询