Files
mixtape/old/zero.Core/Extensions/CollectionExtensions.cs
T
2021-11-19 16:11:12 +01:00

16 lines
375 B
C#

using zero.Core.Collections;
namespace zero.Core.Extensions
{
public static class CollectionExtensions
{
/// <summary>
/// Shared scope for the current collection instance
/// </summary>
public static CollectionScope SharedScope<T>(this T collection) where T : ICollectionBase
{
return new CollectionScope(collection, "shared");
}
}
}