VirtualStorageLibrary
Search Results for

    Show / Hide Table of Contents

    Class VirtualItemAdapter<T>

    Adapter class to simplify operations on virtual items. Reduces the need for casting and simplifies code, allowing users to easily manage specific node types.

    Inheritance
    object
    VirtualItemAdapter<T>
    Inherited Members
    object.Equals(object)
    object.Equals(object, object)
    object.GetHashCode()
    object.GetType()
    object.MemberwiseClone()
    object.ReferenceEquals(object, object)
    object.ToString()
    Namespace: AkiraNetwork.VirtualStorageLibrary
    Assembly: VirtualStorageLibrary.dll
    Syntax
    public class VirtualItemAdapter<T>
    Type Parameters
    Name Description
    T

    The type of item stored in the virtual storage.

    Constructors

    VirtualItemAdapter(VirtualStorage<T>)

    Initializes a new instance of the VirtualItemAdapter<T> class.

    Declaration
    public VirtualItemAdapter(VirtualStorage<T> storage)
    Parameters
    Type Name Description
    VirtualStorage<T> storage

    The virtual storage instance.

    Properties

    this[VirtualPath, bool]

    Gets or sets the virtual item corresponding to the specified path.

    Declaration
    public VirtualItem<T> this[VirtualPath path, bool followLinks = true] { get; set; }
    Parameters
    Type Name Description
    VirtualPath path

    The path of the item.

    bool followLinks

    A flag indicating whether to follow links.

    Property Value
    Type Description
    VirtualItem<T>

    The VirtualItem<T> corresponding to the specified path.

    Extension Methods

    VirtualTextFormatter.GenerateSingleTableDebugText<T>(T)
    In this article
    Back to top Generated by DocFX