Class DecodedObject
Returned decoded object. It can either be
- The fully formed object. Assigned in 'obj'
- A reference to the object, which will need to be assigned later, after all serialization is complete.
In this case, object with the 'applyFunc' will be added fixupList to apply the reference, and that will
be later executed.
Inheritance
System.Object
DecodedObject
Assembly: Eco.Core.dll
Syntax
public sealed class DecodedObject : ValueType
Fields
Obj
Declaration
public readonly object Obj
Field Value
Type |
Description |
System.Object |
|
Reference
Declaration
public readonly IObjectReference Reference
Field Value
SimpleFixups
Declaration
public static ConcurrentQueue<Action> SimpleFixups
Field Value
Type |
Description |
System.Collections.Concurrent.ConcurrentQueue<System.Action> |
|
Properties
IsFullObject
Declaration
public bool IsFullObject { get; }
Property Value
Type |
Description |
System.Boolean |
|
IsReference
Declaration
public bool IsReference { get; }
Property Value
Type |
Description |
System.Boolean |
|
Methods
ApplyAllReferenceFixups()
Declaration
public static void ApplyAllReferenceFixups()
TryGetNotNullValue(out Object)
Tries to get non-null value
as already known or resolved from reference. Returns false
if value isn't valid reference or it is null
.
Declaration
public bool TryGetNotNullValue(out object value)
Parameters
Type |
Name |
Description |
System.Object |
value |
|
Returns
Type |
Description |
System.Boolean |
|
TryGetValue(out Object)
Tries to get value
as already known or resolved from reference.
Declaration
public bool TryGetValue(out object value)
Parameters
Type |
Name |
Description |
System.Object |
value |
|
Returns
Type |
Description |
System.Boolean |
|
Extension Methods