摘要:
The present invention extends to methods, systems, and computer program products for synchronizing data between different editor views. Embodiments of the present invention can be used to incrementally parse a portion of a document using a mark-up language (e.g., HTML) snippet. The parsed snippet is then merged back into the main document. Accordingly, code changes in a text view can be integrated into a design view's main document structure (e.g., parse tree) such that the preservation information for the parsed snippet is merged with the preservation information for the rest of the document. Fully reparsing the document is not required and incremental reparsing can be done in automated fashion. Thus, a document can be automatically re-outputted with full preservation of what the document would have looked like in code view without fully reparsing the document.
摘要:
The present invention extends to methods, systems, and computer program products for synchronizing data between different editor views. Embodiments of the present invention can be used to incrementally parse a portion of a document using a mark-up language (e.g., HTML) snippet. The parsed snippet is then merged back into the main document. Accordingly, code changes in a text view can be integrated into a design view's main document structure (e.g., parse tree) such that the preservation information for the parsed snippet is merged with the preservation information for the rest of the document. Fully reparsing the document is not required and incremental reparsing can be done in automated fashion. Thus, a document can be automatically re-outputted with full preservation of what the document would have looked like in code view without fully reparsing the document.
摘要:
A method and system for creating and modifying computer applications using an application description language based on a markup language is provided. An engine creates, connects, and initializes objects corresponding to entities, and specified by entity tags. A factory may be specified by an entity tag and used to create a plurality of entities. Applications are specified in a plaintext descriptive language using a markup language such as XML, enabling applications to be easily developed using object oriented techniques and abstraction. Altering preexisting applications is also simplified. Finally, an application may be dynamically reconfigured when the application's data changes. Type checking and conditional creation of entities is supported.
摘要:
A system and method of providing edit and continue support in a software program debugging environment. “Edit and continue” support allows a user (e.g., programmer and/or developer) to update the code and/or data structure(s) of an executing program while it is running. After the user has finished editing their code and resumes execution, an integrated development environment (IDE) propagates the edit(s) into a common language runtime (CLR) environment before continuing. Therefore, from the CLR environment's perspective, an edit is a block of intermediate language code (IL) and/or metadata that is inserted into a running process. Moreover, The IDE can facilitate: determining “legality” of an edit; building the edit; sending the edit to the CLR environment; and/or, facilitating the CLR environment switch execution to the edited code.
摘要:
Interoperability of a first framework or platform (e.g., COM) and a second different framework or platform (e.g., .NET) is provided via an attribute mechanism. The attribute mechanism is provided in a non-COM based platform (e.g., .NET) to expose classes to COM. In this manner, a compiler (e.g., the .NET compiler) creates class and events interfaces and adds attributes to the class and interfaces as appropriate for correct interoperability and marshaling. By adding this attribute mechanism to a class in .NET, the .NET compiler is able to use the class declarations (such as public methods, properties, and events) to automatically generate a class interface and an events interface, including appropriate dispatch IDs and GUIDs. Validation is performed on the class being mapped to provide an indication, such as an error message or warning, to the user that the underlying framework marshaling layer cannot marshal certain data types as desired or expected.
摘要:
Floating or movable windows are provided to display information during debugging, either above the source code, or attached to the source code in the locations that they are relevant to. The floating windows can be semi-transparent in order to allow visibility to both the information in the window and the underlying information such as source code. The windows have different behavior, location, and look, depending on the type of information displayed in window and its relation to the underlying code.
摘要:
Methods and systems for provisioning online services are described. In the described embodiment, a framework is provided for provisioning various online services for users of an Internet Service Provider (ISP) through a web site that interfaces with the user. The inventive methods and systems make use of various programming objects to perform information collection and service provisioning functions. A master object is provided and is the focal point of a user's interaction with the framework. In the described embodiment, the master object can perform two primary functions—(1) security buffering—i.e. protecting system resources such as back end servers from a user that is not authorized to access such servers, and (2) oversight of various service configuration objects or “SCOs”. The SCOs are programming objects that are each associated with a particular online service that might be specified by a user. The SCOs are separately configured to take the appropriate steps necessary to provision their own associated online service. In the described embodiment, in addition to these objects, a DS access object is provided and is the interface for a data store that stores user information. When a user enters the system, the master object is instantiated. Information that is to be used to provision various user-requested online services is collected from the user and stored in the data store. The master object is called when the information collection process is finished. The master object determines which services need to be provisioned and, correspondingly, instantiates the necessary SCOs, thereafter calling appropriate SCOs methods that enable the SCOs to provision their respective online service.
摘要:
Techniques for determining and tracking dependent properties for a calculated property are provided. A request for a value of a first property is received. The value for the first property is calculated, including accessing values for one or more properties used to calculate the value for the first property. The accessing of the values for the one or more properties may be detected, and the one or more properties may be tracked as dependent properties for the first property in a first set of dependent properties. A change in the value of a second property may subsequently be detected. If the second property is determined to be included in the first set of dependent properties, the value of the first property is invalidated.
摘要:
Techniques for determining and tracking dependent properties for a calculated property are provided. A request for a value of a first property is received. The value for the first property is calculated, including accessing values for one or more properties used to calculate the value for the first property. The accessing of the values for the one or more properties may be detected, and the one or more properties may be tracked as dependent properties for the first property in a first set of dependent properties. A change in the value of a second property may subsequently be detected. If the second property is determined to be included in the first set of dependent properties, the value of the first property is invalidated.
摘要:
Floating or movable windows are provided to display information during debugging, either above the source code, or attached to the source code in the locations that they are relevant to. The floating windows can be semi-transparent in order to allow visibility to both the information in the window and the underlying information such as source code. The windows have different behavior, location, and look, depending on the type of information displayed in window and its relation to the underlying code.