logo SERENITY
Game Systems Foundation
Search Results for

    Show / Hide Table of Contents

    Class FakeAchievementCustomConditionResolver

    A resolver a test loads by hand, so no reflection is involved.

    Inheritance
    object
    FakeAchievementCustomConditionResolver
    Implements
    IAchievementCustomConditionResolver
    Inherited Members
    object.ToString()
    object.Equals(object)
    object.Equals(object, object)
    object.ReferenceEquals(object, object)
    object.GetHashCode()
    object.GetType()
    object.MemberwiseClone()
    Namespace: Serenity.Achievements.Tests.Fakes
    Assembly: Tests.dll
    Syntax
    public class FakeAchievementCustomConditionResolver : IAchievementCustomConditionResolver

    Constructors

    FakeAchievementCustomConditionResolver()

    Declaration
    public FakeAchievementCustomConditionResolver()

    Properties

    ResolveCallCount

    How many times TryResolve(string, out IAchievementCondition) was called.

    Declaration
    public int ResolveCallCount { get; }
    Property Value
    Type Description
    int

    Methods

    TryResolve(string, out IAchievementCondition)

    Declaration
    public bool TryResolve(string typeName, out IAchievementCondition condition)
    Parameters
    Type Name Description
    string typeName
    IAchievementCondition condition
    Returns
    Type Description
    bool

    With(string, IAchievementCondition)

    Registers a rule under a type name.

    Declaration
    public FakeAchievementCustomConditionResolver With(string typeName, IAchievementCondition condition)
    Parameters
    Type Name Description
    string typeName

    The name a condition node will ask for.

    IAchievementCondition condition

    The rule to hand back.

    Returns
    Type Description
    FakeAchievementCustomConditionResolver

    Implements

    IAchievementCustomConditionResolver
    In this article
    © 2026 Serenity. All Rights Reserved