Files
mixtape/zero.Core/Extensions/CollectionExtensions.cs
T

16 lines
375 B
C#
Raw Normal View History

2021-09-30 12:28:21 +02:00
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");
}
}
}