using System;
using System.Collections.Generic;
using System.Collections.Immutable;
using System.Linq;
namespace StardewModdingAPI.Events
{
/// Event arguments for an event.
public class AssetsInvalidatedEventArgs : EventArgs
{
/*********
** Accessors
*********/
/// The asset names that were invalidated.
public IReadOnlySet Names { get; }
/*********
** Public methods
*********/
/// Construct an instance.
/// The asset names that were invalidated.
internal AssetsInvalidatedEventArgs(IEnumerable names)
{
this.Names = names.ToImmutableHashSet();
}
}
}