Jo Shields a575963da9 Imported Upstream version 3.6.0
Former-commit-id: da6be194a6b1221998fc28233f2503bd61dd9d14
2014-08-13 10:39:27 +01:00

53 lines
3.0 KiB
XML

<?xml version="1.0" encoding="utf-8"?>
<Type Name="IAssemblyPostProcessor" FullName="System.Web.Compilation.IAssemblyPostProcessor">
<TypeSignature Language="C#" Value="public interface IAssemblyPostProcessor : IDisposable" />
<AssemblyInfo>
<AssemblyName>System.Web</AssemblyName>
<AssemblyVersion>2.0.0.0</AssemblyVersion>
</AssemblyInfo>
<Interfaces>
<Interface>
<InterfaceName>System.IDisposable</InterfaceName>
</Interface>
</Interfaces>
<Docs>
<since version=".NET 2.0" />
<remarks>
<attribution license="cc4" from="Microsoft" modified="false" />
<para>A class implementing this interface can access an assembly after it has been compiled. The <see cref="T:System.Web.Compilation.AssemblyBuilder" /> class compiles assemblies and then checks to see whether an <see cref="T:System.Web.Compilation.IAssemblyPostProcessor" /> interface has been registered in the Web configuration file. If so, the <see cref="T:System.Web.Compilation.AssemblyBuilder" /> instance calls the <see cref="M:System.Web.Compilation.IAssemblyPostProcessor.PostProcessAssembly(System.String)" /> method for the <see cref="T:System.Web.Compilation.IAssemblyPostProcessor" /> interface to perform any action after the compilation and before loading the assembly. For example, a profiler tool could implement this interface to establish probes in the assembly. </para>
<para>When an <see cref="T:System.Web.Compilation.IAssemblyPostProcessor" /> interface is registered, the ASP.NET application and its assemblies will always be compiled in debug mode.</para>
</remarks>
<summary>
<attribution license="cc4" from="Microsoft" modified="false" />
<para>Defines the method a class implements to process an assembly after the assembly has been built.</para>
</summary>
</Docs>
<Members>
<Member MemberName="PostProcessAssembly">
<MemberSignature Language="C#" Value="public void PostProcessAssembly (string path);" />
<MemberType>Method</MemberType>
<ReturnValue>
<ReturnType>System.Void</ReturnType>
</ReturnValue>
<Parameters>
<Parameter Name="path" Type="System.String" />
</Parameters>
<Docs>
<since version=".NET 2.0" />
<remarks>
<attribution license="cc4" from="Microsoft" modified="false" />
<para>The <see cref="T:System.Web.Compilation.AssemblyBuilder" /> class calls this method after the assembly has been compiled. Any actions to be taken before loading the assembly should be included in this method.</para>
</remarks>
<summary>
<attribution license="cc4" from="Microsoft" modified="false" />
<para>Called before the assembly is loaded to allow the implementing class to modify the assembly.</para>
</summary>
<param name="path">
<attribution license="cc4" from="Microsoft" modified="false" />The path to the assembly.</param>
</Docs>
<AssemblyInfo>
<AssemblyVersion>2.0.0.0</AssemblyVersion>
</AssemblyInfo>
</Member>
</Members>
</Type>