logo SERENITY
Game Systems Foundation
Search Results for

    Show / Hide Table of Contents

    Class HudPlacedElementNarrowingTests

    Proves the placement solvers accept anything that satisfies IHudPlacedElement, not only a full IHudElementDefinition — the whole point of narrowing their signatures.

    Inheritance
    object
    HudPlacedElementNarrowingTests
    Inherited Members
    object.ToString()
    object.Equals(object)
    object.Equals(object, object)
    object.ReferenceEquals(object, object)
    object.GetHashCode()
    object.GetType()
    object.MemberwiseClone()
    Namespace: Serenity.GameUi.Tests.Application
    Assembly: Tests.dll
    Syntax
    public class HudPlacedElementNarrowingTests

    Constructors

    HudPlacedElementNarrowingTests()

    Declaration
    public HudPlacedElementNarrowingTests()

    Methods

    Drag_AcceptsAMinimalPlacedElement_WithNoHudElementDefinitionMembers()

    Declaration
    public void Drag_AcceptsAMinimalPlacedElement_WithNoHudElementDefinitionMembers()

    Resize_AcceptsAMinimalPlacedElement_WithNoHudElementDefinitionMembers()

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