Was.OrcSearch – Blame information for rev 1

Subversion Repositories:
Rev:
Rev Author Line No. Line
1 office 1 using System;
2  
3 namespace Was.OrcSearch.Models.Interfaces
4 {
5 public interface IMetadata
6 {
7 /// <summary>
8 /// Gets the property name.
9 /// </summary>
10 /// <value>The name.</value>
11 string Name { get; }
12  
13 /// <summary>
14 /// Gets or sets the display name.
15 /// </summary>
16 /// <value>The display name.</value>
17 string DisplayName { get; set; }
18  
19 /// <summary>
20 /// Gets the type of the metadata.
21 /// </summary>
22 /// <value>The type.</value>
23 Type Type { get; }
24  
25 /// <summary>
26 /// Gets the value.
27 /// </summary>
28 /// <param name="instance">The instance.</param>
29 /// <returns>System.Instance.</returns>
30 object GetValue(object instance);
31  
32 /// <summary>
33 /// Sets the value.
34 /// </summary>
35 /// <param name="instance">The instance.</param>
36 /// <param name="value">The value.</param>
37 void SetValue(object instance, object value);
38 }
39 }