blob: 0127f83a10009e60d289fbda94ef496884635a3c (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
|
using System;
using System.Collections.Generic;
using System.Linq;
namespace StardewModdingAPI.Events
{
/// <summary>Event arguments for an <see cref="IContentEvents.AssetsInvalidated"/> event.</summary>
public class AssetsInvalidatedEventArgs : EventArgs
{
/*********
** Accessors
*********/
/// <summary>The asset names that were invalidated.</summary>
public IEnumerable<IAssetName> Names { get; }
/*********
** Public methods
*********/
/// <summary>Construct an instance.</summary>
/// <param name="names">The asset names that were invalidated.</param>
internal AssetsInvalidatedEventArgs(IEnumerable<IAssetName> names)
{
this.Names = names.ToArray();
}
}
}
|