157 lines
8.0 KiB
XML
Raw Normal View History

<?xml version="1.0" encoding="utf-8"?>
<Type Name="CodeChecksumPragma" FullName="System.CodeDom.CodeChecksumPragma">
<TypeSignature Language="C#" Value="public class CodeChecksumPragma : System.CodeDom.CodeDirective" />
<TypeSignature Language="ILAsm" Value=".class public auto ansi serializable beforefieldinit CodeChecksumPragma extends System.CodeDom.CodeDirective" />
<AssemblyInfo>
<AssemblyName>System</AssemblyName>
<AssemblyVersion>2.0.0.0</AssemblyVersion>
<AssemblyVersion>4.0.0.0</AssemblyVersion>
</AssemblyInfo>
<Base>
<BaseTypeName>System.CodeDom.CodeDirective</BaseTypeName>
</Base>
<Interfaces />
<Attributes>
<Attribute>
<AttributeName>System.Runtime.InteropServices.ClassInterface(System.Runtime.InteropServices.ClassInterfaceType.AutoDispatch)</AttributeName>
</Attribute>
<Attribute>
<AttributeName>System.Runtime.InteropServices.ComVisible(true)</AttributeName>
</Attribute>
</Attributes>
<Docs>
<since version=".NET 2.0" />
<remarks>
<attribution license="cc4" from="Microsoft" modified="false" />
<para>The <see cref="T:System.CodeDom.CodeChecksumPragma" /> class inherits from <see cref="T:System.CodeDom.CodeDirective" /> and can be contained in a <see cref="T:System.CodeDom.CodeDirectiveCollection" />. <see cref="T:System.CodeDom.CodeChecksumPragma" /> provides the unique identification of source files, including files that have been generated.</para>
</remarks>
<summary>
<attribution license="cc4" from="Microsoft" modified="false" />
<para>Represents a code checksum pragma code entity. </para>
</summary>
</Docs>
<Members>
<Member MemberName=".ctor">
<MemberSignature Language="C#" Value="public CodeChecksumPragma ();" />
<MemberSignature Language="ILAsm" Value=".method public hidebysig specialname rtspecialname instance void .ctor() cil managed" />
<MemberType>Constructor</MemberType>
<AssemblyInfo>
<AssemblyVersion>2.0.0.0</AssemblyVersion>
<AssemblyVersion>4.0.0.0</AssemblyVersion>
</AssemblyInfo>
<Parameters />
<Docs>
<remarks>To be added.</remarks>
<since version=".NET 2.0" />
<summary>
<attribution license="cc4" from="Microsoft" modified="false" />
<para>Initializes a new instance of the <see cref="T:System.CodeDom.CodeChecksumPragma" /> class. </para>
</summary>
</Docs>
</Member>
<Member MemberName=".ctor">
<MemberSignature Language="C#" Value="public CodeChecksumPragma (string fileName, Guid checksumAlgorithmId, byte[] checksumData);" />
<MemberSignature Language="ILAsm" Value=".method public hidebysig specialname rtspecialname instance void .ctor(string fileName, valuetype System.Guid checksumAlgorithmId, unsigned int8[] checksumData) cil managed" />
<MemberType>Constructor</MemberType>
<AssemblyInfo>
<AssemblyVersion>2.0.0.0</AssemblyVersion>
<AssemblyVersion>4.0.0.0</AssemblyVersion>
</AssemblyInfo>
<Parameters>
<Parameter Name="fileName" Type="System.String" />
<Parameter Name="checksumAlgorithmId" Type="System.Guid" />
<Parameter Name="checksumData" Type="System.Byte[]" />
</Parameters>
<Docs>
<since version=".NET 2.0" />
<remarks>
<attribution license="cc4" from="Microsoft" modified="false" />
<para>For more information on the <paramref name="checksumAlgorithmId" /> parameter, see the <see cref="P:System.CodeDom.CodeChecksumPragma.ChecksumAlgorithmId" /> property.</para>
</remarks>
<summary>
<attribution license="cc4" from="Microsoft" modified="false" />
<para>Initializes a new instance of the <see cref="T:System.CodeDom.CodeChecksumPragma" /> class using a file name, a GUID representing the checksum algorithm, and a byte stream representing the checksum data.</para>
</summary>
<param name="fileName">
<attribution license="cc4" from="Microsoft" modified="false" />The path to the checksum file.</param>
<param name="checksumAlgorithmId">
<attribution license="cc4" from="Microsoft" modified="false" />A <see cref="T:System.Guid" /> that identifies the checksum algorithm to use.</param>
<param name="checksumData">
<attribution license="cc4" from="Microsoft" modified="false" />A byte array that contains the checksum data.</param>
</Docs>
</Member>
<Member MemberName="ChecksumAlgorithmId">
<MemberSignature Language="C#" Value="public Guid ChecksumAlgorithmId { get; set; }" />
<MemberSignature Language="ILAsm" Value=".property instance valuetype System.Guid ChecksumAlgorithmId" />
<MemberType>Property</MemberType>
<AssemblyInfo>
<AssemblyVersion>2.0.0.0</AssemblyVersion>
<AssemblyVersion>4.0.0.0</AssemblyVersion>
</AssemblyInfo>
<ReturnValue>
<ReturnType>System.Guid</ReturnType>
</ReturnValue>
<Docs>
<value>To be added.</value>
<since version=".NET 2.0" />
<remarks>
<attribution license="cc4" from="Microsoft" modified="false" />
<para>Algorithms are provided for the MD5 and SHA1 hashes. The GUID value to use for the MD5 hash is {0x406ea660, 0x64cf, 0x4c82, 0xb6, 0xf0, 0x42, 0xd4, 0x81, 0x72, 0xa7, 0x99}. The GUID to use for the SHA1 hash is {0xff1816ec, 0xaa5e, 0x4d10, 0x87, 0xf7, 0x6f, 0x49, 0x63, 0x83, 0x34, 0x60}.</para>
<para>The calculation of the checksum is language-specific. That is, the language vendor can use any of the hashing algorithms known to the debugger to calculate the checksum. The use of a GUID for this property provides hash algorithm extensibility.</para>
</remarks>
<summary>
<attribution license="cc4" from="Microsoft" modified="false" />
<para>Gets or sets a GUID that identifies the checksum algorithm to use.</para>
</summary>
</Docs>
</Member>
<Member MemberName="ChecksumData">
<MemberSignature Language="C#" Value="public byte[] ChecksumData { get; set; }" />
<MemberSignature Language="ILAsm" Value=".property instance unsigned int8[] ChecksumData" />
<MemberType>Property</MemberType>
<AssemblyInfo>
<AssemblyVersion>2.0.0.0</AssemblyVersion>
<AssemblyVersion>4.0.0.0</AssemblyVersion>
</AssemblyInfo>
<ReturnValue>
<ReturnType>System.Byte[]</ReturnType>
</ReturnValue>
<Docs>
<value>To be added.</value>
<since version=".NET 2.0" />
<remarks>
<attribution license="cc4" from="Microsoft" modified="false" />
<para>The <see cref="P:System.CodeDom.CodeChecksumPragma.ChecksumData" /> property contains data from the target file specified by the <see cref="P:System.CodeDom.CodeChecksumPragma.FileName" /> property.</para>
</remarks>
<summary>
<attribution license="cc4" from="Microsoft" modified="false" />
<para>Gets or sets the value of the data for the checksum calculation.</para>
</summary>
</Docs>
</Member>
<Member MemberName="FileName">
<MemberSignature Language="C#" Value="public string FileName { get; set; }" />
<MemberSignature Language="ILAsm" Value=".property instance string FileName" />
<MemberType>Property</MemberType>
<AssemblyInfo>
<AssemblyVersion>2.0.0.0</AssemblyVersion>
<AssemblyVersion>4.0.0.0</AssemblyVersion>
</AssemblyInfo>
<ReturnValue>
<ReturnType>System.String</ReturnType>
</ReturnValue>
<Docs>
<value>To be added.</value>
<since version=".NET 2.0" />
<remarks>
<attribution license="cc4" from="Microsoft" modified="false" />
<para>An example of a <see cref="P:System.CodeDom.CodeChecksumPragma.FileName" /> property value is "C:\Temp\Test\OuterLinePragma.txt".</para>
</remarks>
<summary>
<attribution license="cc4" from="Microsoft" modified="false" />
<para>Gets or sets the path to the checksum file.</para>
</summary>
</Docs>
</Member>
</Members>
</Type>