Was.OrcSearch – Blame information for rev 1

Subversion Repositories:
Rev:
Rev Author Line No. Line
1 office 1 using System.Reflection;
2 using Was.OrcSearch.Metadata.Interfaces;
3 using Was.OrcSearch.Models;
4  
5 namespace Was.OrcSearch.Metadata
6 {
7 public class SearchableMetadata : ReflectionMetadata, ISearchableMetadata
8 {
9 public SearchableMetadata(PropertyInfo propertyInfo)
10 : base(propertyInfo)
11 {
12 }
13  
14 public string SearchName { get; set; }
15  
16 /// <summary>
17 /// Gets or sets a value indicating whether this property must be analyzed. Set this value to <c>true</c> for common
18 /// text
19 /// or <c>false</c> for unique keys such as product ids.
20 /// <para />
21 /// The default value is <c>true</c>.
22 /// </summary>
23 /// <value><c>true</c> if analyze; otherwise, <c>false</c>.</value>
24 public bool Analyze { get; set; }
25 }
26 }