|
1 |
| -using JetBrains.Annotations; |
2 |
| -using System.Collections.Generic; |
3 |
| -using System.Reflection; |
4 |
| - |
5 |
| -namespace System.Linq.Dynamic.Core.CustomTypeProviders |
| 1 | +namespace System.Linq.Dynamic.Core.CustomTypeProviders |
6 | 2 | {
|
7 | 3 | /// <summary>
|
8 | 4 | /// Interface for providing functionality to find custom types for or resolve any type.
|
| 5 | + /// Note that this interface will be marked obsolete in the next version. Use <see cref="IDynamicLinqCustomTypeProvider"/> instead. |
9 | 6 | /// </summary>
|
10 |
| - public interface IDynamicLinkCustomTypeProvider |
| 7 | + public interface IDynamicLinkCustomTypeProvider : IDynamicLinqCustomTypeProvider |
11 | 8 | {
|
12 |
| - /// <summary> |
13 |
| - /// Returns a list of custom types that System.Linq.Dynamic.Core will understand. |
14 |
| - /// </summary> |
15 |
| - /// <returns>A <see cref="HashSet{Type}" /> list of custom types.</returns> |
16 |
| - HashSet<Type> GetCustomTypes(); |
17 |
| - |
18 |
| - /// <summary> |
19 |
| - /// Returns a list of custom extension methods that System.Linq.Dynamic.Core will understand. |
20 |
| - /// </summary> |
21 |
| - /// <returns>A list of custom extension methods that System.Linq.Dynamic.Core will understand.</returns> |
22 |
| - Dictionary<Type, List<MethodInfo>> GetExtensionMethods(); |
23 |
| - |
24 |
| - /// <summary> |
25 |
| - /// Resolve any type by fullname which is registered in the current application domain. |
26 |
| - /// </summary> |
27 |
| - /// <param name="typeName">The typename to resolve.</param> |
28 |
| - /// <returns>A resolved <see cref="Type"/> or null when not found.</returns> |
29 |
| - Type ResolveType([NotNull] string typeName); |
30 |
| - |
31 |
| - /// <summary> |
32 |
| - /// Resolve any type by the simple name which is registered in the current application domain. |
33 |
| - /// </summary> |
34 |
| - /// <param name="simpleTypeName">The typename to resolve.</param> |
35 |
| - /// <returns>A resolved <see cref="Type"/> or null when not found.</returns> |
36 |
| - Type ResolveTypeBySimpleName([NotNull] string simpleTypeName); |
37 | 9 | }
|
38 | 10 | }
|
0 commit comments