-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathAttributeBindingModelLookupService.cs
More file actions
31 lines (26 loc) · 1.63 KB
/
AttributeBindingModelLookupService.cs
File metadata and controls
31 lines (26 loc) · 1.63 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
/*==============================================================================================================================
| Author Ignia, LLC
| Client Ignia, LLC
| Project Topics Library
\=============================================================================================================================*/
using OnTopic.Lookup;
namespace OnTopic.Editor.AspNetCore.Infrastructure {
/*============================================================================================================================
| CLASS: ATTRIBUTE BINDING MODEL (LOOKUP SERVICE)
\---------------------------------------------------------------------------------------------------------------------------*/
/// <summary>
/// Provides a mapping between string and class names to be used when mapping <see cref="Topic"/> to a <see
/// cref="AttributeBindingModel"/> or derived class.
/// </summary>
internal class AttributeBindingModelLookupService : DynamicTypeLookupService {
/*==========================================================================================================================
| CONSTRUCTOR
\-------------------------------------------------------------------------------------------------------------------------*/
/// <summary>
/// Establishes a new instance of the <see cref="AttributeBindingModelLookupService"/>.
/// </summary>
/// <returns>A new instance of the <see cref="AttributeBindingModelLookupService"/>.</returns>
internal AttributeBindingModelLookupService() : base(t => typeof(AttributeBindingModel).IsAssignableFrom(t)) {
}
} //Class
} //Namespace