logo SERENITY
Game Systems Foundation
Search Results for

    Show / Hide Table of Contents

    Class FoundationReferenceWalkerTests

    Tests for Serenity.Global.Infrastructure.Editor.Validation.FoundationReferenceWalker's AssetKey support: a type with no declared FoundationReferenceContracts row but at least one [AssetPathField] field must still be walked, emitting one Serenity.Global.Infrastructure.Editor.Validation.FoundationReferenceSite per match with AssetKey and the attribute's asset type resolved.

    Inheritance
    object
    FoundationReferenceWalkerTests
    Inherited Members
    object.ToString()
    object.Equals(object)
    object.Equals(object, object)
    object.ReferenceEquals(object, object)
    object.GetHashCode()
    object.GetType()
    object.MemberwiseClone()
    Namespace: Serenity.UnityValidation.Tests.Editor
    Assembly: Serenity.UnityValidation.Tests.Editor.dll
    Syntax
    public class FoundationReferenceWalkerTests

    Constructors

    FoundationReferenceWalkerTests()

    Declaration
    public FoundationReferenceWalkerTests()

    Methods

    HasContractsFor_TypeWithAnAssetPathFieldAndNoContractRows_ReturnsTrue()

    Declaration
    public void HasContractsFor_TypeWithAnAssetPathFieldAndNoContractRows_ReturnsTrue()

    HasContractsFor_TypeWithNeitherContractRowsNorAssetPathFields_ReturnsFalse()

    Declaration
    public void HasContractsFor_TypeWithNeitherContractRowsNorAssetPathFields_ReturnsFalse()

    Walk_TypeWithAnAssetPathFieldAndNoContractRows_EmitsAnAssetKeySite()

    Declaration
    public void Walk_TypeWithAnAssetPathFieldAndNoContractRows_EmitsAnAssetKeySite()
    In this article
    © 2026 Serenity. All Rights Reserved