Search Results for

    Show / Hide Table of Contents

    Class ItemWithStream

    Represents a platform-specific file with a Stream.

    Inheritance
    object
    ItemWithStream
    Namespace: TriLibCore.SFB
    Assembly: TriLibCore.SFB.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 TriLib documentation