Struct CommonHandoff
Implements
System.IDisposable
Inherited Members
System.ValueType.Equals(System.Object)
System.ValueType.GetHashCode()
System.ValueType.ToString()
System.Object.Equals(System.Object, System.Object)
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.GetType()
Namespace: Danmokou.Danmaku.Patterns
Assembly: cs.temp.dll.dll
Syntax
public struct CommonHandoff : IDisposable
Constructors
CommonHandoff(ICancellee, Nullable<DelegatedCreator>, GenCtx, Nullable<V2RV2>)
GCX is NOT automatically copied.
Declaration
public CommonHandoff(ICancellee cT, DelegatedCreator? bc, GenCtx gcx, V2RV2? rv2Override)
Parameters
Type | Name | Description |
---|---|---|
ICancellee | cT | |
System.Nullable<DelegatedCreator> | bc | |
GenCtx | gcx | |
System.Nullable<V2RV2> | rv2Override |
Fields
bc
Declaration
public DelegatedCreator bc
Field Value
Type | Description |
---|---|
DelegatedCreator |
cT
Declaration
public readonly ICancellee cT
Field Value
Type | Description |
---|---|
ICancellee |
gcx
Declaration
public readonly GenCtx gcx
Field Value
Type | Description |
---|---|
GenCtx |
rv2Override
Declaration
public V2RV2? rv2Override
Field Value
Type | Description |
---|---|
System.Nullable<V2RV2> |
Methods
Copy()
Copy the contained GCX (ie. copy the GCX, and copy the internal envframe).
Declaration
public readonly CommonHandoff Copy()
Returns
Type | Description |
---|---|
CommonHandoff |
Dispose()
Declaration
public readonly void Dispose()
Mirror()
Mirror the contained GCX (ie. copy the GCX, and mirror the internal envframe).
Declaration
public readonly CommonHandoff Mirror()
Returns
Type | Description |
---|---|
CommonHandoff |
OverrideFrame(Nullable<EnvFrame>)
Copies the GCX with a new EnvFrame. The provided envframe is mirrored, and the current GCX's RV2/ST
are stored as rv2Override.
(If the envframe is null, then the existing GCX is copied with a cloned envframe.)
Declaration
public readonly CommonHandoff OverrideFrame(EnvFrame? newFrame)
Parameters
Type | Name | Description |
---|---|---|
System.Nullable<EnvFrame> | newFrame |
Returns
Type | Description |
---|---|
CommonHandoff |
TryDerive(Nullable<LexicalScope>)
Copies the GCX, possibly deriving a new environment frame if a scope is provided.
Declaration
public readonly CommonHandoff TryDerive(LexicalScope? scope)
Parameters
Type | Name | Description |
---|---|---|
System.Nullable<LexicalScope> | scope |
Returns
Type | Description |
---|---|
CommonHandoff |
Implements
System.IDisposable