-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathDynamicTopicBindingModelLookupService.cs
28 lines (24 loc) · 1.51 KB
/
DynamicTopicBindingModelLookupService.cs
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
/*==============================================================================================================================
| Author Ignia, LLC
| Client Ignia, LLC
| Project Topics Library
\=============================================================================================================================*/
using OnTopic.Models;
namespace OnTopic.Lookup {
/*============================================================================================================================
| CLASS: DYNAMIC TOPIC BINDING MODEL LOOKUP SERVICE
\---------------------------------------------------------------------------------------------------------------------------*/
/// <summary>
/// The <see cref="DynamicTopicBindingModelLookupService"/> will search all assemblies for <see cref="Type"/>s that
/// implement <see cref="ITopicBindingModel"/>.
/// </summary>
public class DynamicTopicBindingModelLookupService : DynamicTypeLookupService {
/*==========================================================================================================================
| CONSTRUCTOR
\-------------------------------------------------------------------------------------------------------------------------*/
/// <summary>
/// Establishes a new instance of a <see cref="DynamicTopicBindingModelLookupService"/>.
/// </summary>
public DynamicTopicBindingModelLookupService() : base(t => typeof(ITopicBindingModel).IsAssignableFrom(t)) { }
} //Class
} //Namespace