logo SERENITY
Game Systems Foundation
Search Results for

    Show / Hide Table of Contents

    Enum FoundationReferenceKind

    What kind of value a FoundationReferenceContract's property stores: a Serenity Id, a Guid, or the owning asset's own Id (a self-reference, e.g. UiOption.ViewId naming the menu it is authored on).

    Namespace: Serenity.Global.Domain.Enums
    Assembly: Serenity.Global.Domain.dll
    Syntax
    public enum FoundationReferenceKind

    Fields

    Name Description
    AssetKey

    The property holds another asset's Addressables address — its runtime load key. Discovered per concrete site by reflecting [AssetPathField] fields (AssetKeyReferenceContracts), never resolved against an IFoundationSettings Id or Guid.

    Guid

    The property holds another IFoundationSettings asset's Guid.

    Id

    The property holds another IFoundationSettings asset's Id.

    OwnerId

    The property holds the OWNING asset's own Id — a self-reference that must be rewritten to the owner's post-rename value, never resolved against a foreign asset.

    In this article
    © 2026 Serenity. All Rights Reserved