Table of Contents

Struct NavigationAreaPolicyKey

Namespace
Trailblazer.Pathing
Assembly
Trailblazer.dll

Identifies one immutable navigation-area policy revision.

public readonly struct NavigationAreaPolicyKey : IEquatable<NavigationAreaPolicyKey>
Implements
Inherited Members

Constructors

NavigationAreaPolicyKey(string, long)

Creates a stable policy identity and positive revision.

public NavigationAreaPolicyKey(string policyId, long revision)

Parameters

policyId string
revision long

Properties

PolicyId

Gets the stable ordinal host-owned policy identifier.

public string PolicyId { get; }

Property Value

string

Revision

Gets the positive immutable content revision.

public long Revision { get; }

Property Value

long

Methods

Equals(object?)

public override bool Equals(object? obj)

Parameters

obj object

Returns

bool

Equals(NavigationAreaPolicyKey)

public bool Equals(NavigationAreaPolicyKey other)

Parameters

other NavigationAreaPolicyKey

Returns

bool

GetHashCode()

public override int GetHashCode()

Returns

int

Operators

operator ==(NavigationAreaPolicyKey, NavigationAreaPolicyKey)

Tests two policy keys for equality.

public static bool operator ==(NavigationAreaPolicyKey left, NavigationAreaPolicyKey right)

Parameters

left NavigationAreaPolicyKey
right NavigationAreaPolicyKey

Returns

bool

operator !=(NavigationAreaPolicyKey, NavigationAreaPolicyKey)

Tests two policy keys for inequality.

public static bool operator !=(NavigationAreaPolicyKey left, NavigationAreaPolicyKey right)

Parameters

left NavigationAreaPolicyKey
right NavigationAreaPolicyKey

Returns

bool