-
Notifications
You must be signed in to change notification settings - Fork 0
/
IHideObjectMembers.cs
38 lines (34 loc) · 1.2 KB
/
IHideObjectMembers.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
29
30
31
32
33
34
35
36
37
38
namespace MefContrib
{
using System;
using System.ComponentModel;
/// <summary>
/// Helper interface used to hide the base <see cref="Object"/> members from the fluent API to make it much cleaner
/// in Visual Studio intellisense.
/// </summary>
/// <remarks>Created by Daniel Cazzulino http://www.clariusconsulting.net/blogs/kzu/archive/2008/03/10/58301.aspx</remarks>
[EditorBrowsable(EditorBrowsableState.Never)]
public interface IHideObjectMembers
{
/// <summary>
/// Hides the <see cref="Equals"/> method.
/// </summary>
[EditorBrowsable(EditorBrowsableState.Never)]
bool Equals(object obj);
/// <summary>
/// Hides the <see cref="GetHashCode"/> method.
/// </summary>
[EditorBrowsable(EditorBrowsableState.Never)]
int GetHashCode();
/// <summary>
/// Hides the <see cref="GetType"/> method.
/// </summary>
[EditorBrowsable(EditorBrowsableState.Never)]
Type GetType();
/// <summary>
/// Hides the <see cref="ToString"/> method.
/// </summary>
[EditorBrowsable(EditorBrowsableState.Never)]
string ToString();
}
}