Class PushPullAdapter
An adapter for pushing and pulling values.
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
Type Parameters
T
PullPrimitiveValueAsync<T>()
View Source
Declaration
public STask<T> PullPrimitiveValueAsync<T>()
Returns
Type Parameters
T
Dispose(ushort)
View Source
Declaration
public void Dispose(ushort version)
Parameters
Type | Name |
---|---|
System.UInt16 | version |
TryGetNextType(out IValueType?)
View Source
Declaration
public bool TryGetNextType(out IValueType? type)
Returns
System.Boolean
Parameters
Type | Name |
---|---|
WaaS.ComponentModel.Runtime.IValueType | type |
Push(bool)
View Source
Declaration
public void Push(bool value)
Parameters
Type | Name |
---|---|
System.Boolean | value |
Push(byte)
View Source
Declaration
public void Push(byte value)
Parameters
Type | Name |
---|---|
System.Byte | value |