Class BindingDescriptor
- Namespace
- DotBoxD.Kernels.Bindings
- Assembly
- DotBoxD.Kernels.dll
public sealed record BindingDescriptor : IEquatable<BindingDescriptor>
- Inheritance
-
BindingDescriptor
- Implements
-
- Inherited Members
-
Constructors
BindingDescriptor(string, SemVersion, IReadOnlyList<SandboxType>, SandboxType, SandboxEffect, string?, BindingCostModel, AuditLevel, BindingSafety, BindingInvoker, CompiledBinding, CapabilityGrantValidator?)
public BindingDescriptor(string Id, SemVersion Version, IReadOnlyList<SandboxType> Parameters, SandboxType ReturnType, SandboxEffect Effects, string? RequiredCapability, BindingCostModel CostModel, AuditLevel AuditLevel, BindingSafety Safety, BindingInvoker Invoke, CompiledBinding Compiled, CapabilityGrantValidator? GrantValidator = null)
Parameters
Id string
Version SemVersion
Parameters IReadOnlyList<SandboxType>
ReturnType SandboxType
Effects SandboxEffect
RequiredCapability string
CostModel BindingCostModel
AuditLevel AuditLevel
Safety BindingSafety
Invoke BindingInvoker
Compiled CompiledBinding
GrantValidator CapabilityGrantValidator
Properties
AuditLevel
public AuditLevel AuditLevel { get; init; }
Property Value
- AuditLevel
Compiled
public CompiledBinding Compiled { get; init; }
Property Value
- CompiledBinding
CostModel
public BindingCostModel CostModel { get; init; }
Property Value
- BindingCostModel
Effects
public SandboxEffect Effects { get; init; }
Property Value
- SandboxEffect
GrantValidator
public CapabilityGrantValidator? GrantValidator { get; init; }
Property Value
- CapabilityGrantValidator
Id
public string Id { get; init; }
Property Value
- string
Invoke
public BindingInvoker Invoke { get; init; }
Property Value
- BindingInvoker
IsAsync
public bool IsAsync { get; init; }
Property Value
- bool
Parameters
public IReadOnlyList<SandboxType> Parameters { get; init; }
Property Value
- IReadOnlyList<SandboxType>
RequiredCapability
public string? RequiredCapability { get; init; }
Property Value
- string
ReturnType
public SandboxType ReturnType { get; init; }
Property Value
- SandboxType
Safety
public BindingSafety Safety { get; init; }
Property Value
- BindingSafety
Signature
public BindingSignature Signature { get; }
Property Value
- BindingSignature
Version
public SemVersion Version { get; init; }
Property Value
- SemVersion