docs.unity3d.com
    Show / Hide Table of Contents

    Class BaseArtifactCache

    Inheritance
    Object
    BaseArtifactCache
    LiteDbArtifactCache
    WebArtifactCache
    Inherited Members
    Object.ToString()
    Object.Equals(Object)
    Object.Equals(Object, Object)
    Object.ReferenceEquals(Object, Object)
    Object.GetHashCode()
    Object.GetType()
    Object.MemberwiseClone()
    Namespace: Unity.Muse.Common
    Syntax
    public abstract class BaseArtifactCache

    Methods

    Clear()

    Declaration
    public abstract void Clear()

    Delete(Artifact)

    Declaration
    public abstract void Delete(Artifact artifact)
    Parameters
    Type Name Description
    Artifact artifact

    DeleteMany(IEnumerable<Artifact>)

    Declaration
    public abstract void DeleteMany(IEnumerable<Artifact> artifacts)
    Parameters
    Type Name Description
    IEnumerable<Artifact> artifacts

    Dispose()

    Dispose of the database so that it's content is saved to disk.

    Declaration
    public abstract void Dispose()

    Initialize()

    Declaration
    public abstract void Initialize()

    IsInCache(Artifact)

    Declaration
    public abstract bool IsInCache(Artifact artifact)
    Parameters
    Type Name Description
    Artifact artifact
    Returns
    Type Description
    Boolean

    Prune()

    Declaration
    public abstract void Prune()

    Read(Artifact)

    Declaration
    public abstract Object Read(Artifact artifact)
    Parameters
    Type Name Description
    Artifact artifact
    Returns
    Type Description
    Object

    ReadRawData(Artifact)

    Declaration
    public abstract byte[] ReadRawData(Artifact artifact)
    Parameters
    Type Name Description
    Artifact artifact
    Returns
    Type Description
    Byte[]

    Write(Artifact, Byte[])

    Declaration
    public abstract void Write(Artifact artifact, byte[] value)
    Parameters
    Type Name Description
    Artifact artifact
    Byte[] value
    Back to top
    Copyright © 2023 Unity Technologies — Terms of use
    • Legal
    • Privacy Policy
    • Cookies
    • Do Not Sell or Share My Personal Information
    • Your Privacy Choices (Cookie Settings)
    "Unity", Unity logos, and other Unity trademarks are trademarks or registered trademarks of Unity Technologies or its affiliates in the U.S. and elsewhere (more info here). Other names or brands are trademarks of their respective owners.
    Generated by DocFX on 18 October 2023