Table of Contents

Class PolymorphicHandleAttribute

Namespace
DotBoxD.Abstractions
Assembly
DotBoxD.Abstractions.dll

Marks a polymorphic host handle type whose sandbox representation is the scalar value stored in the configured key member. Hook contexts may expose the handle type, while generated verified IR receives only the key and calls host bindings to discriminate or query the concrete host-side entity.

[AttributeUsage(AttributeTargets.Class|AttributeTargets.Struct, Inherited = false)]
public sealed class PolymorphicHandleAttribute : Attribute
Inheritance
PolymorphicHandleAttribute
Inherited Members

Constructors

PolymorphicHandleAttribute(string)

public PolymorphicHandleAttribute(string keyMember)

Parameters

keyMember string

Properties

KeyMember

public string KeyMember { get; }

Property Value

string