Show / Hide Table of Contents

Class DecodedObject

Returned decoded object. It can either be

  1. The fully formed object. Assigned in 'obj'
  2. 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
Namespace: Eco.Core.Serialization
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
Type Description
IObjectReference

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

PropertyChanges.FirePropertyChanged(Object, String)
PropertyChanges.FirePropertyChanged(Object, String, Object, Object)
PropertyChanges.FirePropertyChanged(Object, MemberChangedBeforeAfterEventArgs)
☀
☾
In This Article
Back to top
Copyright (c) Strange Loop Games 2021
☀
☾