//This code was lended from http://bit.ly/ifluentinterface, and is not covered by the regular NWebsec lisence. using System; using System.ComponentModel; namespace NWebsec.Core.Fluent { /// /// Interface that is used to build fluent interfaces and hides methods declared by from /// IntelliSense. /// /// /// Code that consumes implementations of this interface should expect one of two things: /// /// /// When referencing the interface from within the same solution (project reference), you will still see the /// methods this interface is meant to hide. /// /// /// When referencing the interface through the compiled output assembly (external reference), the standard /// Object methods will be hidden as intended. /// /// /// See http://bit.ly/ifluentinterface for more information. /// [EditorBrowsable(EditorBrowsableState.Never)] public interface IFluentInterface { /// /// Redeclaration that hides the method from IntelliSense. /// [EditorBrowsable(EditorBrowsableState.Never)] Type GetType(); /// /// Redeclaration that hides the method from IntelliSense. /// [EditorBrowsable(EditorBrowsableState.Never)] int GetHashCode(); /// /// Redeclaration that hides the method from IntelliSense. /// [EditorBrowsable(EditorBrowsableState.Never)] string ToString(); /// /// Redeclaration that hides the method from IntelliSense. /// [EditorBrowsable(EditorBrowsableState.Never)] bool Equals(object obj); } }