メインコンテンツまでスキップ

Struct StackFrame

A wrapper of IStackFrameCore.

Assembly: WaaS.Core.dll​
View Source​
Declaration
public readonly struct StackFrame : IDisposable, IEquatable<StackFrame>

Implements:
System.IDisposable, System.IEquatable<WaaS.Runtime.StackFrame>

Properties​

ResultLength​

View Source​
Declaration
public int ResultLength { get; }

Methods​

Dispose()​

Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources.

View Source​
Declaration
public void Dispose()

MoveNext(Waker)​

View Source​
Declaration
public StackFrameState MoveNext(Waker waker)
Returns​

WaaS.Runtime.StackFrameState

Parameters​
TypeName
WaaS.Runtime.Wakerwaker

TakeResults(Span<StackValueItem>)​

View Source​
Declaration
public void TakeResults(Span<StackValueItem> dest)
Parameters​
TypeName
System.Span<WaaS.Runtime.StackValueItem>dest

DoesTakeResults()​

View Source​
Declaration
public bool DoesTakeResults()
Returns​

System.Boolean

PushResults(Span<StackValueItem>)​

View Source​
Declaration
public void PushResults(Span<StackValueItem> source)
Parameters​
TypeName
System.Span<WaaS.Runtime.StackValueItem>source

Equals(StackFrame)​

Indicates whether the current object is equal to another object of the same type.

View Source​
Declaration
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​
TypeNameDescription
WaaS.Runtime.StackFrameotherAn object to compare with this object.

Equals(object)​

Indicates whether this instance and a specified object are equal.

View Source​
Declaration
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​
TypeNameDescription
System.ObjectobjThe object to compare with the current instance.

GetHashCode()​

Returns the hash code for this instance.

View Source​
Declaration
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​
Declaration
public override string ToString()
Returns​

System.String: The fully qualified type name.

Implements​

  • System.IDisposable
  • System.IEquatable<WaaS.Runtime.StackFrame>