Sandbox Logo

SerializationOptions.Cache

IActionGraphCache Cache { get; set; }

Description

Re-use instances from this cache when deserializing, matching by <see cref="P:Facepunch.ActionGraphs.ActionGraph.Guid" />. Graphs will be added to the cache when serializing or deserializing in this scope. When serializing, if <see cref="P:Facepunch.ActionGraphs.SerializationOptions.WriteCacheReferences" /> is true, a minimal graph reference stub will be written instead of full graphs.

Return

User Comments