Skip to content

Commit 0ca571a

Browse files
committed
Introduce OnTopic.Attributes as a global using directive
Previously, `OnTopic.Attributes` couldn't be (easily) introduced as a global using directive (e37de82, 1e83841; #53, OnTopicCMS/OnTopic-Library#93) because of a naming conflict with `AttributeDictionary`, which existed in both `OnTopic.Attributes` and `Microsoft.AspNetCore.Mvc.ViewFeatures`. With `AttributeDictionary` renamed to `AttributeValueDictionary` (OnTopicCMS/OnTopic-Library#107), this can be reintroduced.
1 parent 25fcd6d commit 0ca571a

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

OnTopic.Editor.AspNetCore/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.Collections.ObjectModel;
11+
global using OnTopic.Attributes;
1112
global using OnTopic.Editor.AspNetCore.Models;
1213
global using OnTopic.Editor.AspNetCore.Models.Metadata;
1314
global using OnTopic.Internal.Diagnostics;

0 commit comments

Comments
 (0)