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

Class PushPullAdapter

An adapter for pushing and pulling values. Values pushed while no one is pulling are buffered, and pulled later without suspension.

Assembly: WaaS.Core.dll​
View Source​
Declaration
public class PushPullAdapter : IValuePusherCore, IVersionedDisposable<ushort>

Implements:
WaaS.ComponentModel.Runtime.IValuePusherCore, WaaS.IVersionedDisposable<T>

Properties​

Version​

View Source​
Declaration
public ushort Version { get; }

Methods​

PullValueAsync<T>()​

View Source​
Declaration
public STask<T> PullValueAsync<T>()
Returns​

STask.STask<TResult>

Type Parameters​
  • T

PullPrimitiveValueAsync<T>()​

View Source​
Declaration
public STask<T> PullPrimitiveValueAsync<T>()
Returns​

STask.STask<TResult>

Type Parameters​
  • T

Dispose(ushort)​

View Source​
Declaration
public void Dispose(ushort version)
Parameters​
TypeName
System.UInt16version

TryGetNextType(out IValueType?)​

View Source​
Declaration
public bool TryGetNextType(out IValueType? type)
Returns​

System.Boolean

Parameters​
TypeName
WaaS.ComponentModel.Runtime.IValueTypetype

Push(bool)​

View Source​
Declaration
public void Push(bool value)
Parameters​
TypeName
System.Booleanvalue

Push(byte)​

View Source​
Declaration
public void Push(byte value)
Parameters​
TypeName
System.Bytevalue

Push(sbyte)​

View Source​
Declaration
public void Push(sbyte value)
Parameters​
TypeName
System.SBytevalue

Push(ushort)​

View Source​
Declaration
public void Push(ushort value)
Parameters​
TypeName
System.UInt16value

Push(short)​

View Source​
Declaration
public void Push(short value)
Parameters​
TypeName
System.Int16value

Push(uint)​

View Source​
Declaration
public void Push(uint value)
Parameters​
TypeName
System.UInt32value

Push(int)​

View Source​
Declaration
public void Push(int value)
Parameters​
TypeName
System.Int32value

Push(ulong)​

View Source​
Declaration
public void Push(ulong value)
Parameters​
TypeName
System.UInt64value

Push(long)​

View Source​
Declaration
public void Push(long value)
Parameters​
TypeName
System.Int64value

Push(float)​

View Source​
Declaration
public void Push(float value)
Parameters​
TypeName
System.Singlevalue

Push(double)​

View Source​
Declaration
public void Push(double value)
Parameters​
TypeName
System.Doublevalue

PushChar32(uint)​

View Source​
Declaration
public void PushChar32(uint value)
Parameters​
TypeName
System.UInt32value

Push(ReadOnlySpan<char>)​

View Source​
Declaration
public void Push(ReadOnlySpan<char> value)
Parameters​
TypeName
System.ReadOnlySpan<System.Char>value

PushRecord()​

View Source​
Declaration
public ValuePusher PushRecord()
Returns​

WaaS.ComponentModel.Runtime.ValuePusher

PushVariant(int)​

View Source​
Declaration
public ValuePusher PushVariant(int caseIndex)
Returns​

WaaS.ComponentModel.Runtime.ValuePusher

Parameters​
TypeName
System.Int32caseIndex

PushList(int)​

View Source​
Declaration
public ValuePusher PushList(int length)
Returns​

WaaS.ComponentModel.Runtime.ValuePusher

Parameters​
TypeName
System.Int32length

PushFlags(uint)​

View Source​
Declaration
public void PushFlags(uint flagValue)
Parameters​
TypeName
System.UInt32flagValue

PushOwned(Owned)​

View Source​
Declaration
public void PushOwned(Owned handle)
Parameters​
TypeName
WaaS.ComponentModel.Runtime.Ownedhandle

PushBorrowed(Borrowed)​

View Source​
Declaration
public void PushBorrowed(Borrowed handle)
Parameters​
TypeName
WaaS.ComponentModel.Runtime.Borrowedhandle

Get(out Pullable, out ValuePusher)​

View Source​
Declaration
public static void Get(out Pullable pullable, out ValuePusher pusher)
Parameters​
TypeName
WaaS.ComponentModel.Binding.Pullablepullable
WaaS.ComponentModel.Runtime.ValuePusherpusher

Implements​