Xamarin Public Jenkins (auto-signing) e79aa3c0ed Imported Upstream version 4.6.0.125
Former-commit-id: a2155e9bd80020e49e72e86c44da02a8ac0e57a4
2016-08-03 10:59:49 +00:00

33 lines
1.7 KiB
C#

//------------------------------------------------------------------------------
// <copyright file="IWcfReferenceReceiveContextInformation.cs" company="Microsoft">
// Copyright (c) Microsoft Corporation. All rights reserved.
// </copyright>
//------------------------------------------------------------------------------
using System;
using System.Collections.Generic;
namespace System.Web.Compilation
{
/// <summary>
/// This interface should be implemented by a wsdl or policy import extension if it wants to receive
/// extra context information from the WCF Service Reference tools. Any extension
/// files associated with the .svcmap file of a WCF service reference (e.g., Reference.config or
/// custom extension files added through extensibility) may be received through this interface.
/// In addition, a service provider is passed in which may be queried for additional information.
/// Note that any changes made to the information in serviceReferenceExtensionFileContents will
/// not be persisted.
///
/// Important note: any interface received from the service provider which is specific to Visual
/// Studio will not be available to an import extension when being run in the context of an ASP.NET
/// build provider, which is the case when a WCF service reference is being compiled in an ASP.NET
/// project. The extension files are always available, so they do not have this limitation.
/// </summary>
public interface IWcfReferenceReceiveContextInformation
{
void ReceiveImportContextInformation(
IDictionary<string, byte[]> serviceReferenceExtensionFileContents,
IServiceProvider serviceProvider);
}
}