Files
PowerShell/src/Microsoft.Management.Infrastructure/CimKeyedCollection.cs
T
PowerShell Team 60b3b304f2 Move files from psl-monad submodule to super-project
This commit uses psl-monad branch source-depot 7209cb9
And corresponds to [SD:688741]
2016-03-30 17:16:23 -07:00

25 lines
926 B
C#

/*============================================================================
* Copyright (C) Microsoft Corporation, All rights reserved.
*============================================================================
*/
namespace Microsoft.Management.Infrastructure.Generic
{
/// <summary>
/// Represents a mutable collection of <typeparamref name="T"/> objects.
/// The objects can be enumerated (the order is undefined) or can be accessed by their name.
/// </summary>
/// <typeparam name="T">Type of items in the collection</typeparam>
public abstract class CimKeyedCollection<T> : CimReadOnlyKeyedCollection<T>
{
internal CimKeyedCollection()
{
}
/// <summary>
/// Adds <paramref name="newItem"/> to the collection.
/// </summary>
/// <param name="newItem">Item to add</param>
public abstract void Add(T newItem);
}
}