C# Класс Microsoft.Cci.Ast.Assembly

Represents a .NET assembly.
Наследование: Module, IAssembly
Показать файл Открыть проект

Private Properties

Свойство Тип Описание

Открытые методы

Метод Описание
Dispatch ( IMetadataVisitor visitor ) : void

Calls visitor.Visit(IAssembly).

DispatchAsReference ( IMetadataVisitor visitor ) : void

Calls visitor.Visit(IAssemblyReference).

Защищенные методы

Метод Описание
Assembly ( IName name, string location, IName moduleName, IEnumerable assemblyReferences, IEnumerable moduleReferences, IEnumerable resources, IEnumerable files ) : System

Allocates an object that represents a .NET assembly.

GetAssemblyAttributes ( ) : List

Returns a list of custom attributes that describes this type declaration member. Typically, these will be derived from this.SourceAttributes. However, some source attributes might instead be persisted as metadata bits and other custom attributes may be synthesized from information not provided in the form of source custom attributes. The list is not trimmed to size, since an override of this method may call the base method and then add more attributes.

Описание методов

Assembly() защищенный Метод

Allocates an object that represents a .NET assembly.
protected Assembly ( IName name, string location, IName moduleName, IEnumerable assemblyReferences, IEnumerable moduleReferences, IEnumerable resources, IEnumerable files ) : System
name IName The name of the unit.
location string An indication of the location where the unit is or will be stored. This need not be a file system path and may be empty. /// The interpretation depends on the IMetadataHost instance used to resolve references to this unit.
moduleName IName The name of the module containing the assembly manifest. This can be different from the name of the assembly itself.
assemblyReferences IEnumerable A list of the assemblies that are referenced by this module.
moduleReferences IEnumerable A list of the modules that are referenced by this module.
resources IEnumerable A list of named byte sequences persisted with the assembly and used during execution, typically via .NET Framework helper classes.
files IEnumerable /// A list of the files that constitute the assembly. These are not the source language files that may have been /// used to compile the assembly, but the files that contain constituent modules of a multi-module assembly as well /// as any external resources. It corresonds to the File table of the .NET assembly file format. ///
Результат System

Dispatch() публичный Метод

Calls visitor.Visit(IAssembly).
public Dispatch ( IMetadataVisitor visitor ) : void
visitor IMetadataVisitor
Результат void

DispatchAsReference() публичный Метод

Calls visitor.Visit(IAssemblyReference).
public DispatchAsReference ( IMetadataVisitor visitor ) : void
visitor IMetadataVisitor
Результат void

GetAssemblyAttributes() защищенный Метод

Returns a list of custom attributes that describes this type declaration member. Typically, these will be derived from this.SourceAttributes. However, some source attributes might instead be persisted as metadata bits and other custom attributes may be synthesized from information not provided in the form of source custom attributes. The list is not trimmed to size, since an override of this method may call the base method and then add more attributes.
protected GetAssemblyAttributes ( ) : List
Результат List