ProfilingKey Class
Namespace: Stride.Core.DiagnosticsAssembly: 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() | ||
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 |
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. |
Methods
ToString()
public override string ToString()
Returns
| Type | Description |
|---|---|
| System.String |
Overrides
System.Object.ToString()