Stride

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

  • Discord
  • Facebook
  • Twitter
  • YouTube

LANGUAGE

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

    ProfilingKey Class

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

    A key to identify a specific profile.

    System.Object → ProfilingKey
    Derived from ProfilingKey:

    public class ProfilingKey
    Name Description
    Constructors
    ProfilingKey(ProfilingKey, String, ProfilingKeyFlags)

    Initializes a new instance of the ProfilingKey class.

    ProfilingKey(String, ProfilingKeyFlags)

    Initializes a new instance of the ProfilingKey class.

    Properties
    Children

    Gets the children.

    Name

    Gets the name.

    Parent

    Gets the group.

    Methods
    ToString()
    | Improve this Doc View Source

    Constructors


    ProfilingKey(ProfilingKey, String, ProfilingKeyFlags)

    Initializes a new instance of the ProfilingKey class.

    public ProfilingKey(ProfilingKey parent, string name, ProfilingKeyFlags flags = ProfilingKeyFlags.None)
    Parameters
    Type Name Description
    ProfilingKey parent

    The parent.

    System.String name

    The name.

    ProfilingKeyFlags flags
    Exceptions
    Type Condition
    System.ArgumentNullException

    parent


    ProfilingKey(String, ProfilingKeyFlags)

    Initializes a new instance of the ProfilingKey class.

    public ProfilingKey(string name, ProfilingKeyFlags flags = ProfilingKeyFlags.None)
    Parameters
    Type Name Description
    System.String name

    The name.

    ProfilingKeyFlags flags
    | Improve this Doc View Source

    Properties


    Children

    Gets the children.

    public List<ProfilingKey> Children { get; }
    Property Value
    Type Description
    System.Collections.Generic.List<ProfilingKey>

    The children.


    Name

    Gets the name.

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

    The name.


    Parent

    Gets the group.

    public ProfilingKey Parent { get; }
    Property Value
    Type Description
    ProfilingKey

    The group.

    | 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