Skip to content

Commit 9d0c8c2

Browse files
committed
rename TagContext -> TagScope
1 parent dabc80c commit 9d0c8c2

2 files changed

Lines changed: 3 additions & 3 deletions

File tree

Orm/Xtensive.Orm/Orm/Rse/Providers/TagContext.cs renamed to Orm/Xtensive.Orm/Orm/Rse/Providers/TagScope.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,14 +8,14 @@
88

99
namespace Xtensive.Orm.Rse.Providers
1010
{
11-
public readonly struct TagContext : IDisposable
11+
public readonly struct TagScope : IDisposable
1212
{
1313
private readonly List<string> tags;
1414

1515
public void Dispose() =>
1616
tags.RemoveAt(tags.Count - 1);
1717

18-
internal TagContext(List<string> tags, string tag)
18+
internal TagScope(List<string> tags, string tag)
1919
{
2020
ArgumentValidator.EnsureArgumentNotNull(tags, nameof(tags));
2121
ArgumentValidator.EnsureArgumentNotNull(tag, nameof(tag));

Orm/Xtensive.Orm/Orm/Session.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -609,7 +609,7 @@ internal Session(Domain domain, StorageNode selectedStorageNode, SessionConfigur
609609
SystemQuery = Query = new QueryEndpoint(new QueryProvider(this));
610610
}
611611

612-
public TagContext Tag(string tag) => new TagContext(tags ??= new List<string>(), tag);
612+
public TagScope Tag(string tag) => new TagScope(tags ??= new List<string>(), tag);
613613

614614
// IDisposable implementation
615615

0 commit comments

Comments
 (0)