Patents
US 7,685,567 B2#11948115 Most CitedExpiredUnited States (USPTO)Utility

Architecture that extends types using extension methods

9Forward Citations (#11948115 Global)
0.6/yrCitation Velocity (#14281651 Global)
1.83Citation PageRank (#16804969 Global)
18Prior Art Cited
1Claims (1 Indep. · 0 Dep.)
0Drawings / Sheets

Abstract

Architecture that extends existing types including constructed and sealed types using extension methods. Extension methods are static methods that can be invoked using instance method syntax. Extension methods are declared by specifying the keyword “this” as a modifier on the first parameter of the methods. Extension methods have all the capabilities of regular static methods. In addition, once imported, extension methods can be invoked using instance method syntax. Also disclosed are rules for importing extension methods, and extension method invocations. Extension methods are imported through using-namespace-directives. In addition to importing the types contained in a namespace, a using-namespace-directive imports all extension methods in all static classes in the namespace. In effect, imported extension methods appear as additional methods on the types that are given by their first parameter and have lower precedence than regular instance methods.

Interactive Citation Constellation Global Citation Ranking

Interactive SVG Citation Constellation renders in Rust/WebAssembly. Prior art cited: 18 · Forward citations: 9.

Claims (1 — 1 Independent, 0 Dependent)

  1. Claim 1Independent Claim

    A computer-implemented method of extending data model and operations without needing to modify existing codes, the method comprising: receiving a static type for extension processing; extending the type by adding an extension method to the static type, wherein the extension method is declared using declaration syntax providing a compiler with sufficient information to statically process invocation of the extension method; statically processing invocation of the extension method by treating the extension method as a normal instance method of the type the extension method extends rather than as

Technical Overview & Description

Full multi-page specification text is archived at the issuing office. Read complete official specification ↗

References Cited — Backward Prior Art (18)

PatentTitleYearCitations
US 6,690,981 B1System and method for encapsulating user interface code for a graphical program200486
US 2004098384 A1Method of processing query about XML data using APEX—68
US 2004148592 A1Program compiler with abstraction composer—36
US 2004210828 A1Web interaction system which enables a mobile telephone to interact with web resources—56
US 2004230584 A1Object oriented query root leaf inheritance to relational join translator method, system, article of manufacture, and computer program product—37
US 2004243921 A1Methods and systems for synchronizing document elements—51
US 2004260691 A1Common query runtime system and application programming interface—109
US 2005027681 A1Methods and systems for model matching—109
US 6,857,118 B2Function values in computer programming languages having dynamic types and overloading200552
US 2005055336 A1Providing XML cursor support on an XML repository built on top of a relational database system—100
US 2005138073 A1Method, computer program product, and system of optimized data translation from relational data storage to hierarchical structure—82
US 6,993,529 B1Importing data using metadata200642
US 2006048114 A1Method and apparatus for dynamic compilation of selective code blocks of computer programming code to different memory locations—69
US 2006179068 A1Techniques for efficiently storing and querying in a relational database, XML documents conforming to schemas that contain cyclic constructs—30
US 2006200438 A1System and method for retrieving data from a relational database management system—54
US 7,171,657 B2Method and apparatus for importing static members of a class20073
US 7,185,016 B1Methods and transformations for transforming metadata model2007129
US 2007067716 A1Information storage medium on which interactive contents version information is recorded, and recording and/or reproducing method and apparatus—14

Non-Patent Literature (5)

  • Abelson, et al., Structure and Interpretbn of Computer programs. The Rules of Evaluation [online], Cambridge, MA: The MIT Press. 1996 [retrieved on Jan. 30, 2007]. Retrieved from the Internet: CURL:http:llmitpress.mit.edu/sicp/full-text/sicp/book/node56.html>,(chapter 3.2.1).
  • Barcndrfgt, The Impact of the Lambda Calculus and Computer Science, The Bulletin of Symbolic Logic [online], Jun. 1997 [retrieved on Jan. 30, 2007] Retrieved from the Inlernet:.
  • Barcndrfgt, The Impact of the Lambda Calculus and Computer Science, The Bulletin of Symbolic Logic [online], Jun. 1997 [retrieved on Jan. 30, 2007] Retrieved from the Inlernet:<UPL;https://www.rncs.vuw.ac.nz/courses/COMP432/2006T2/docs/BarLarnbda.pdf>.
  • Bonifati et al. "Pushing Reactive Services to XML Repositories Using Active Rules," ACM 2001, May 1, 2001, 9 pages, Hong Kong.
  • C#: Overview of C# 3.0, Draft 2, Jul. 2005, 18 pages.