Click or drag to resize

V8FastHostObjectConfigurationTObject Class

Represents a fast host object configuration.
Inheritance Hierarchy
SystemObject
  Microsoft.ClearScript.V8.FastProxyV8FastHostObjectConfigurationTObject

Namespace: Microsoft.ClearScript.V8.FastProxy
Assembly: ClearScript.V8 (in ClearScript.V8.dll) Version: 7.5.0
Syntax
public abstract class V8FastHostObjectConfiguration<TObject>
where TObject : IV8FastHostObject

Type Parameters

TObject
The fast host object type.

The V8FastHostObjectConfigurationTObject type exposes the following members.

Constructors
 NameDescription
Protected methodV8FastHostObjectConfigurationTObject Initializes a new V8FastHostObjectConfigurationTObject instance.
Top
Properties
 NameDescription
Public propertyEnumerateIndexedProperties Controls whether indexed properties are enumerable.
Top
Methods
 NameDescription
Public methodAddMethodGetter(String, V8FastHostMethodInvokerTObject) Adds a getter for a method.
Public methodAddMethodGetter(String, V8FastHostObjectConfiguratorV8FastHostMethodTObject, V8FastHostMethodInvokerTObject) Adds a getter for a method with the specified configuration callback.
Public methodAddMethodGetter(String, Int32, V8FastHostMethodInvokerTObject) Adds a getter for a method with the specified required argument count.
Public methodAddMethodGetter(String, Int32, V8FastHostObjectConfiguratorV8FastHostMethodTObject, V8FastHostMethodInvokerTObject) Adds a getter for a method with the specified required argument count and configuration callback.
Public methodAddPropertyAccessors(String, V8FastHostPropertyGetterTObject, V8FastHostPropertySetterTObject) Adds accessors for a property.
Public methodAddPropertyAccessors(String, V8FastHostPropertyGetterTObject, V8FastHostPropertySetterTObject, V8FastHostPropertyFlags) Adds accessors for a property with the specified attributes.
Public methodAddPropertyAccessorsTField(String, V8FastHostFieldAccessorTObject, TField) Adds accessors for a field-backed property.
Public methodAddPropertyAccessorsTField(String, V8FastHostFieldAccessorTObject, TField, V8FastHostPropertyFlags) Adds accessors for a field-backed property with the specified attributes.
Public methodAddPropertyGetter(String, V8FastHostPropertyGetterTObject) Adds a getter for a read-only property.
Public methodAddPropertyGetter(String, V8FastHostPropertyGetterTObject, V8FastHostPropertyFlags) Adds a getter for a read-only property with the specified attributes.
Public methodAddPropertyGetterTField(String, V8FastHostFieldAccessorTObject, TField) Adds a getter for a field-backed read-only property.
Public methodAddPropertyGetterTField(String, V8FastHostFieldAccessorTObject, TField, V8FastHostPropertyFlags) Adds a getter for a field-backed read-only property with the specified attributes.
Public methodEqualsDetermines whether the specified object is equal to the current object.
(Inherited from Object)
Protected methodFinalizeAllows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.
(Inherited from Object)
Public methodGetHashCodeServes as the default hash function.
(Inherited from Object)
Public methodGetTypeGets the Type of the current instance.
(Inherited from Object)
Protected methodMemberwiseCloneCreates a shallow copy of the current Object.
(Inherited from Object)
Public methodSetAsyncEnumeratorFactory(FuncTObject, IV8FastAsyncEnumerator) Sets a callback that creates an asynchronous enumerator for a TObject instance in IV8FastAsyncEnumerator form.
Public methodSetAsyncEnumeratorFactoryTItem(FuncTObject, IAsyncEnumeratorTItem) Sets a callback that creates an asynchronous enumerator for a TObject instance in IAsyncEnumeratorT form.
Public methodSetDynamicPropertiesGetter Sets a callback that gets the dynamic properties of a TObject instance.
Public methodSetEnumeratorFactory(FuncTObject, IV8FastEnumerator) Sets a callback that creates an enumerator for a TObject instance in IV8FastEnumerator form.
Public methodSetEnumeratorFactory(FuncTObject, IEnumerator) Sets a callback that creates an enumerator for a TObject instance in IEnumerator form.
Public methodSetEnumeratorFactoryTItem(FuncTObject, IEnumeratorTItem) Sets a callback that creates an enumerator for a TObject instance in IEnumeratorT form.
Public methodToStringReturns a string that represents the current object.
(Inherited from Object)
Top
Remarks
This class provides a way to configure the scriptable capabilities of a fast host object or type. It is not a required part of the interface between V8 and fast host objects, but it is used extensively by ClearScript's fast host object implementation infrastructure.
See Also