//----------------------------------------------------------------------- // // Copyright (c) Outercurve Foundation. All rights reserved. // //----------------------------------------------------------------------- namespace DotNetOpenAuth.Messaging { using System; using System.Collections.Generic; using System.Diagnostics.Contracts; using System.Linq; using System.Net; using System.Text; /// /// Contract class for the interface. /// [ContractClassFor(typeof(IHttpDirectResponse))] public abstract class IHttpDirectResponseContract : IHttpDirectResponse { #region IHttpDirectResponse Members /// /// Gets the HTTP status code that the direct response should be sent with. /// /// HttpStatusCode IHttpDirectResponse.HttpStatusCode { get { throw new NotImplementedException(); } } /// /// Gets the HTTP headers to add to the response. /// /// May be an empty collection, but must not be null. WebHeaderCollection IHttpDirectResponse.Headers { get { Contract.Ensures(Contract.Result() != null); throw new NotImplementedException(); } } #endregion } }