Stride

OPEN / CLOSE
  • Features
  • Blog
  • Documentation
  • Community
(icon) Download

  • Discord
  • Facebook
  • Twitter
  • YouTube

LANGUAGE

OPEN / CLOSE
  • English
  • 日本語
    Show / Hide Table of Contents

    ComponentEventInfo Class

    Namespace: Stride.Core.Diagnostics
    Assembly: Stride.Core.dll

    Contains information about a AddReference/Release event.

    System.Object → ComponentEventInfo
    Derived from ComponentEventInfo:

    public class ComponentEventInfo
    Name Description
    Constructors
    ComponentEventInfo(ComponentEventType)
    Properties
    StackTrace

    Gets the stack trace at the time of the event.

    Time

    Gets the time (from Environment.TickCount) at which the event happened.

    Type

    Gets the event type.

    Methods
    ToString()
    | Improve this Doc View Source

    Constructors


    ComponentEventInfo(ComponentEventType)

    public ComponentEventInfo(ComponentEventType type)
    Parameters
    Type Name Description
    ComponentEventType type
    | Improve this Doc View Source

    Properties


    StackTrace

    Gets the stack trace at the time of the event.

    public string StackTrace { get; }
    Property Value
    Type Description
    System.String

    Time

    Gets the time (from Environment.TickCount) at which the event happened.

    public int Time { get; }
    Property Value
    Type Description
    System.Int32

    Type

    Gets the event type.

    public ComponentEventType Type { get; }
    Property Value
    Type Description
    ComponentEventType
    | Improve this Doc View Source

    Methods


    ToString()

    public override string ToString()
    Returns
    Type Description
    System.String
    Overrides
    System.Object.ToString()

    Extension Methods

    ComponentBaseExtensions.DisposeBy<T>(T, ICollectorHolder)
    ComponentBaseExtensions.RemoveDisposeBy<T>(T, ICollectorHolder)
    • Improve this Doc
    • View Source
    In This Article

    Back to top

    Copyright © 2019-2021 .NET Foundation and Contributors
    Supported by the .NET Foundation