logo SERENITY
Game Systems Foundation
Search Results for

    Show / Hide Table of Contents

    Class LogEntryBehaviorTests

    Complementary behavioral tests for the Serenity.Logging.Domain.ValueObjects.LogEntry value object covering reference aliasing, default-of-struct behavior, and severity round-tripping.

    Inheritance
    object
    LogEntryBehaviorTests
    Inherited Members
    object.ToString()
    object.Equals(object)
    object.Equals(object, object)
    object.ReferenceEquals(object, object)
    object.GetHashCode()
    object.GetType()
    object.MemberwiseClone()
    Namespace: Serenity.Logging.Tests.Domain
    Assembly: Tests.dll
    Syntax
    public class LogEntryBehaviorTests

    Constructors

    LogEntryBehaviorTests()

    Declaration
    public LogEntryBehaviorTests()

    Methods

    Ctor_EmptyTagsDefault_IsSharedEmptyArrayInstance()

    Declaration
    public void Ctor_EmptyTagsDefault_IsSharedEmptyArrayInstance()

    Ctor_ExceptionProvided_IsStoredByReference()

    Declaration
    public void Ctor_ExceptionProvided_IsStoredByReference()

    Ctor_ExplicitUtc_IsPreservedExactly()

    Declaration
    public void Ctor_ExplicitUtc_IsPreservedExactly()

    Ctor_PreservesSeverityValue()

    Declaration
    public void Ctor_PreservesSeverityValue()

    Ctor_TagsArray_IsStoredByReference()

    Declaration
    public void Ctor_TagsArray_IsStoredByReference()

    Default_StructInstance_HasNullReferenceFields()

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