TriLib
Search Results for

    Show / Hide Table of Contents

    Class ItemWithStream

    Represents a platform-specific file with a Stream.

    Inheritance
    object
    ItemWithStream
    Inherited Members
    object.Equals(object)
    object.Equals(object, object)
    object.GetHashCode()
    object.GetType()
    object.MemberwiseClone()
    object.ReferenceEquals(object, object)
    object.ToString()
    Namespace: TriLibCore.SFB
    Assembly: Assembly-CSharp.dll
    Syntax
    public class ItemWithStream

    Properties

    HasData

    Indicates if this item has valid data.

    Declaration
    public bool HasData { get; }
    Property Value
    Type Description
    bool

    Name

    Gets/Sets the item filename.

    Declaration
    public string Name { get; set; }
    Property Value
    Type Description
    string

    Stream

    Sets the item file Stream.

    Declaration
    public Stream Stream { set; }
    Property Value
    Type Description
    Stream

    Methods

    OpenStream()

    Opens the Stream to read data from this item.

    Declaration
    public Stream OpenStream()
    Returns
    Type Description
    Stream

    The opened Stream.

    Extension Methods

    IObjectExtensions.TryToDispose<T>(object)
    In this article
    Back to top Generated by DocFX