Struct StackFrame
A wrapper of IStackFrameCore.
Assembly: WaaS.Core.dll
View Source
public readonly struct StackFrame : IDisposable, IEquatable<StackFrame>
Implements:
System.IDisposable
, System.IEquatable<WaaS.Runtime.StackFrame>
Properties
ResultLength
View Source
public int ResultLength { get; }
Methods
Dispose()
Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources.
View Source
public void Dispose()
MoveNext(Waker)
View Source
public StackFrameState MoveNext(Waker waker)
Returns
Parameters
Type | Name |
---|---|
WaaS.Runtime.Waker | waker |
TakeResults(Span<StackValueItem>)
View Source
public void TakeResults(Span<StackValueItem> dest)
Parameters
Type | Name |
---|---|
System.Span<WaaS.Runtime.StackValueItem> | dest |
DoesTakeResults()
View Source
public bool DoesTakeResults()
Returns
System.Boolean
PushResults(Span<StackValueItem>)
View Source
public void PushResults(Span<StackValueItem> source)
Parameters
Type | Name |
---|---|
System.Span<WaaS.Runtime.StackValueItem> | source |
Equals(StackFrame)
Indicates whether the current object is equal to another object of the same type.
View Source
public bool Equals(StackFrame other)
Returns
System.Boolean
: true if the current object is equal to the <code class="paramref">other</code> parameter; otherwise, false.
Parameters
Type | Name | Description |
---|---|---|
WaaS.Runtime.StackFrame | other | An object to compare with this object. |
Equals(object)
Indicates whether this instance and a specified object are equal.
View Source
public override bool Equals(object obj)
Returns
System.Boolean
: true if <code class="paramref">obj</code> and this instance are the same type and represent the same value; otherwise, false.
Parameters
Type | Name | Description |
---|---|---|
System.Object | obj | The object to compare with the current instance. |
GetHashCode()
Returns the hash code for this instance.
View Source
public override int GetHashCode()
Returns
System.Int32
: A 32-bit signed integer that is the hash code for this instance.### ToString()
Returns the fully qualified type name of this instance.
View Source
public override string ToString()
Returns
System.String
: The fully qualified type name.
Implements
System.IDisposable
System.IEquatable<WaaS.Runtime.StackFrame>