Skip to content

Commit 95b8276

Browse files
committed
Introduce OnTopic.Attributes as a global using directive
Previously, `OnTopic.Attributes` couldn't be (easily) introduced as a global using directive (c9f6b17, #93) because of a naming conflict with `AttributeDictionary`, which existed in both `OnTopic.Attributes` and `Microsoft.AspNetCore.Mvc.ViewFeatures`. With `AttributeDictionary` renamed to `AttributeValueDictionary` (0b62fe0, #107), this can be reintroduced.
1 parent 0b62fe0 commit 95b8276

File tree

2 files changed

+2
-0
lines changed

2 files changed

+2
-0
lines changed

OnTopic.Tests/Properties/AssemblyInfo.cs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,7 @@
99
\-----------------------------------------------------------------------------------------------------------------------------*/
1010
global using System.Collections.ObjectModel;
1111
global using System.Diagnostics.CodeAnalysis;
12+
global using OnTopic.Attributes;
1213
global using OnTopic.Internal.Diagnostics;
1314
global using OnTopic.Mapping.Annotations;
1415
global using OnTopic.ViewModels;

OnTopic/Properties/AssemblyInfo.cs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,7 @@
88
| USING DIRECTIVES (GLOBAL)
99
\-----------------------------------------------------------------------------------------------------------------------------*/
1010
global using System.Diagnostics.CodeAnalysis;
11+
global using OnTopic.Attributes;
1112
global using OnTopic.Internal.Diagnostics;
1213

1314
/*==============================================================================================================================

0 commit comments

Comments
 (0)