Search Results for

    Show / Hide Table of Contents

    Class AudioHistory.RemoveArgs

    The event argument when calling RemoveOldest() or RemoveNewest().

    Inheritance
    Object
    EventArgs
    AudioHistory.RemoveArgs
    Namespace: OmiyaGames.Audio
    Assembly: cs.temp.dll.dll
    Syntax
    public class RemoveArgs : EventArgs

    Constructors

    RemoveArgs(AssetRef<BackgroundAudio>, Boolean)

    Constructs a new event argument.

    Declaration
    public RemoveArgs(AssetRef<BackgroundAudio> removedAsset, bool isOldestRemoved)
    Parameters
    Type Name Description
    AssetRef<BackgroundAudio> removedAsset

    Sets Asset.

    Boolean isOldestRemoved

    Sets IsOldestRemoved.

    Properties

    Asset

    Gets the asset removed from the history.

    Declaration
    public AssetRef<BackgroundAudio> Asset { get; }
    Property Value
    Type Description
    AssetRef<BackgroundAudio>

    IsOldestRemoved

    Returns true if event was called by RemoveOldest().

    If the event was called by RemoveNewest() instead, returns false.

    Declaration
    public bool IsOldestRemoved { get; }
    Property Value
    Type Description
    Boolean
    In This Article
    Back to top Copyright © 2022 Omiya Games