System.Bindings.EvalProtocol.ICustomScope

From RAD Studio API Documentation
Jump to: navigation, search

Delphi

ICustomScope = interface(IScope)

C++

__interface ICustomScope  : public IScope

Properties

Type Visibility Source Unit Parent
interface
class
public
System.Bindings.EvalProtocol.pas
System.Bindings.EvalProtocol.hpp
System.Bindings.EvalProtocol System.Bindings.EvalProtocol

Description

A custom scope that permits the user to return a custom wrapper for fake object members.

ICustomScope is an interface that defines a custom scope that permits the user to return a custom wrapper for fake object members. These fake members to not physically exist in the object, but are rather calculated values denoted by names.

Implement this interface to create a custom scope that can be registered with the custom scope factory. It provides information about the object and its representing metaclass on which the scope maps. Keep in mind that the custom scope returns the same custom wrapper for the same token name of an object and it is the job of the custom scope to update the contents of the custom wrappers that are dependent on information in the custom scope that might have changed previously.

See Also