Was.OrcSearch – Blame information for rev 1
?pathlinks?
Rev | Author | Line No. | Line |
---|---|---|---|
1 | office | 1 | using System.Threading.Tasks; |
2 | using Was.OrcSearch.Metadata.Interfaces; |
||
3 | using Was.OrcSearch.Models; |
||
4 | |||
5 | namespace Was.OrcSearch.Metadata |
||
6 | { |
||
7 | //using Catel.Threading; |
||
8 | |||
9 | public class MetadataProvider : IMetadataProvider |
||
10 | { |
||
11 | public virtual Task<ReflectionObjectWithMetadata> GetMetadataAsync(object obj) |
||
12 | { |
||
13 | // By default we use reflection, user can always register their own IMetadataProvider |
||
14 | return Task.FromResult(new ReflectionObjectWithMetadata(obj)); |
||
15 | } |
||
16 | } |
||
17 | } |