Table of Contents

Struct GroupDecision

Namespace
Typhon.Engine
Assembly
Typhon.Engine.dll

The application's verdict on a GroupRequest.

public readonly struct GroupDecision
Inherited Members

Properties

Allow

The session holds the key: it is filled, and the request answered SOURCE_APPLIED once it is complete.

public static GroupDecision Allow { get; }

Property Value

GroupDecision

Allowed

Whether the session may hold the key.

public bool Allowed { get; }

Property Value

bool

Code

The SOURCE_ERROR code a refusal answers with; 0 when allowed.

public ushort Code { get; }

Property Value

ushort

Methods

Deny()

The request is refused with Denied.

public static GroupDecision Deny()

Returns

GroupDecision

Deny(ushort)

The request is refused with the application's own code.

public static GroupDecision Deny(ushort code)

Parameters

code ushort

At least FirstApplicationCode: the codes below are the engine's.

Returns

GroupDecision

The verdict.