summaryrefslogtreecommitdiff
path: root/src/SMAPI/Framework/PerformanceCounter/EventPerformanceCounterCollection.cs
diff options
context:
space:
mode:
authorDrachenkaetzchen <felicia@drachenkatze.org>2020-01-15 16:01:35 +0100
committerDrachenkaetzchen <felicia@drachenkatze.org>2020-01-15 16:01:35 +0100
commit694cca4b21878850ba6131105a0c560fdfbc5f10 (patch)
tree016aadbd247f72e352fc341f3ce944980dc70c90 /src/SMAPI/Framework/PerformanceCounter/EventPerformanceCounterCollection.cs
parent280dc911839f8996cddd9804f3f545cc38d20243 (diff)
downloadSMAPI-694cca4b21878850ba6131105a0c560fdfbc5f10.tar.gz
SMAPI-694cca4b21878850ba6131105a0c560fdfbc5f10.tar.bz2
SMAPI-694cca4b21878850ba6131105a0c560fdfbc5f10.zip
Added documentation for all performance counter methods and members. Refactored the naming of several members and methods to reflect their actual intention.
Diffstat (limited to 'src/SMAPI/Framework/PerformanceCounter/EventPerformanceCounterCollection.cs')
-rw-r--r--src/SMAPI/Framework/PerformanceCounter/EventPerformanceCounterCollection.cs5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/SMAPI/Framework/PerformanceCounter/EventPerformanceCounterCollection.cs b/src/SMAPI/Framework/PerformanceCounter/EventPerformanceCounterCollection.cs
index 1aec28f3..4690c512 100644
--- a/src/SMAPI/Framework/PerformanceCounter/EventPerformanceCounterCollection.cs
+++ b/src/SMAPI/Framework/PerformanceCounter/EventPerformanceCounterCollection.cs
@@ -2,8 +2,13 @@ using StardewModdingAPI.Framework.Events;
namespace StardewModdingAPI.Framework.PerformanceCounter
{
+ /// <summary>Represents a performance counter collection specific to game events.</summary>
internal class EventPerformanceCounterCollection: PerformanceCounterCollection
{
+ /// <summary>Creates a new event performance counter collection.</summary>
+ /// <param name="manager">The performance counter manager.</param>
+ /// <param name="event">The ManagedEvent.</param>
+ /// <param name="isImportant">If the event is flagged as important.</param>
public EventPerformanceCounterCollection(PerformanceCounterManager manager, IManagedEvent @event, bool isImportant) : base(manager, @event.GetName(), isImportant)
{
}