Struct TodoFrame
Provides an efficient data vector for marshalling and storage of todo's in queues.
This type obviates the need of extra serialization for teleportation and storage of Todo instances.
Special-purposed Glue binding is used to teleport TodoFrames and directly store them in queue without
unnecessary intermediate serialization steps
Inherited Members
System.ValueType.Equals(System.Object)
System.ValueType.GetHashCode()
System.ValueType.ToString()
System.Object.Equals(System.Object, System.Object)
System.Object.GetType()
System.Object.ReferenceEquals(System.Object, System.Object)
Assembly: Azos.Sky.dll
Syntax
[Serializable]
public struct TodoFrame
Constructors
TodoFrame(Todo, Nullable<Int32>)
Frames the Todo instance, pass serialize null to frame only Sys Fields without content
Declaration
public TodoFrame(Todo todo, int? serializer)
Parameters
| Type |
Name |
Description |
| Todo |
todo |
|
| System.Nullable<System.Int32> |
serializer |
|
Fields
Content
Declaration
Field Value
| Type |
Description |
| System.Byte[] |
|
CorrelationKey
Declaration
public string CorrelationKey
Field Value
| Type |
Description |
| System.String |
|
CreateTimestampUTC
Declaration
public DateTime CreateTimestampUTC
Field Value
| Type |
Description |
| System.DateTime |
|
ID
Declaration
Field Value
ParallelKey
Declaration
public string ParallelKey
Field Value
| Type |
Description |
| System.String |
|
Priority
Declaration
Field Value
| Type |
Description |
| System.Int32 |
|
Serializer
Declaration
Field Value
| Type |
Description |
| System.Int32 |
|
SERIALIZER_BSON
Declaration
public const int SERIALIZER_BSON = 1
Field Value
| Type |
Description |
| System.Int32 |
|
SERIALIZER_DEFAULT
Declaration
public const int SERIALIZER_DEFAULT = 0
Field Value
| Type |
Description |
| System.Int32 |
|
ShardingKey
Declaration
public string ShardingKey
Field Value
| Type |
Description |
| System.String |
|
StartDate
Declaration
public DateTime StartDate
Field Value
| Type |
Description |
| System.DateTime |
|
State
Declaration
Field Value
| Type |
Description |
| System.Int32 |
|
Tries
Declaration
Field Value
| Type |
Description |
| System.Int32 |
|
Type
Declaration
Field Value
| Type |
Description |
| System.Guid |
|
Properties
Assigned
Declaration
public bool Assigned { get; }
Property Value
| Type |
Description |
| System.Boolean |
|
Methods
Materialize(IGuidTypeResolver)
Materializes the Todo instance represented by this frame in the scope of IGuidTypeResolver
Declaration
public Todo Materialize(IGuidTypeResolver resolver)
Parameters
Returns
Extension Methods