Show / Hide Table of Contents

Interface IObjectReferenceService

Service used by serializers for different reference types (like IHasID or IHasReferenceableSerializableID).

Namespace: Eco.Core.Serialization.Internal
Assembly: Eco.Core.dll
Syntax
public interface IObjectReferenceService

Methods

GetId(Object)

Returns identifier for instance.

Declaration
int GetId(object instance)
Parameters
Type Name Description
System.Object instance
Returns
Type Description
System.Int32

MakeReference(Type, Int32)

Makes IObjectReference for type and id.

Declaration
DecodedObject MakeReference(Type type, int id)
Parameters
Type Name Description
System.Type type
System.Int32 id
Returns
Type Description
DecodedObject

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
☀
☾