logo SERENITY
Game Systems Foundation
Search Results for

    Show / Hide Table of Contents

    Class FoundationDistinctReferenceGroup

    One group of PropertyPaths on a single IFoundationSettings owner type whose stored references must each name a DIFFERENT asset. Two fields of the group carrying the same Id is an authoring mistake — the two controls they drive can never be operated independently — and the remaining tables say nothing about it, because a contract row describes one field in isolation.

    Inheritance
    object
    FoundationDistinctReferenceGroup
    Inherited Members
    object.ToString()
    object.Equals(object)
    object.Equals(object, object)
    object.ReferenceEquals(object, object)
    object.GetHashCode()
    object.GetType()
    Namespace: Serenity.Global.Application.References
    Assembly: Serenity.Global.Application.dll
    Syntax
    public sealed class FoundationDistinctReferenceGroup

    Constructors

    FoundationDistinctReferenceGroup(string, IReadOnlyList<string>, string)

    Declaration
    public FoundationDistinctReferenceGroup(string ownerTypeName, IReadOnlyList<string> propertyPaths, string remedy)
    Parameters
    Type Name Description
    string ownerTypeName

    Short (non-namespaced) type name of the owner the group applies to.

    IReadOnlyList<string> propertyPaths

    The property paths that must each name a different asset.

    string remedy

    What the author has to do to separate them.

    Properties

    OwnerTypeName

    Declaration
    public string OwnerTypeName { get; }
    Property Value
    Type Description
    string

    Short (non-namespaced) type name of the owner this group applies to.

    PropertyPaths

    Declaration
    public IReadOnlyList<string> PropertyPaths { get; }
    Property Value
    Type Description
    IReadOnlyList<string>

    The property paths that must each name a different asset.

    Remedy

    Declaration
    public string Remedy { get; }
    Property Value
    Type Description
    string

    What the author has to do to separate two fields that name the same asset.

    In this article
    © 2026 Serenity. All Rights Reserved