logo SERENITY
Game Systems Foundation
Search Results for

    Show / Hide Table of Contents

    Class CachedServiceRefTests

    Tests for CachedServiceRef<TService>.

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

    Constructors

    CachedServiceRefTests()

    Declaration
    public CachedServiceRefTests()

    Methods

    GetOrNull_WhenNotResolved_ReturnsNull()

    Declaration
    public void GetOrNull_WhenNotResolved_ReturnsNull()

    GetOrNull_WhenResolved_ReturnsCachedInstance()

    Declaration
    public void GetOrNull_WhenResolved_ReturnsCachedInstance()

    Invalidate_ThenTryGet_ReQueriesLocator()

    Declaration
    public void Invalidate_ThenTryGet_ReQueriesLocator()

    TearDown()

    Declaration
    public void TearDown()

    TryGet_WhenBridgeNotSet_ReturnsFalse()

    Declaration
    public void TryGet_WhenBridgeNotSet_ReturnsFalse()

    TryGet_WhenResolutionFails_DoesNotCacheAndRetriesNextCall()

    Declaration
    public void TryGet_WhenResolutionFails_DoesNotCacheAndRetriesNextCall()

    TryGet_WhenResolved_CachesAndQueriesLocatorOnce()

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