ICacheable Interface
Definition
Section titled “Definition”A cacheable metadata item. Can be used with LoadAssemblyCache<T>(string) and BepInEx.Bootstrap.TypeLoader.SaveAssemblyCache``1(System.String%2cSystem.Collections.Generic.Dictionary%7bSystem.String%2cSystem.Collections.Generic.List%7b``0%7d%7d%2cSystem.Collections.Generic.Dictionary%7bSystem.String%2cSystem.String%7d)
to cache plugin metadata.
public interface ICacheable
Methods
Section titled “Methods”Save(BinaryWriter)
Section titled “Save(BinaryWriter)”Serialize the object into a binary format.
void Save(BinaryWriter bw)
Parameters
Section titled “Parameters”bw
BinaryWriter
Load(BinaryReader)
Section titled “Load(BinaryReader)”Loads the object from binary format.
void Load(BinaryReader br)
Parameters
Section titled “Parameters”br
BinaryReader