In This Article

ProjectAssembly Class

Represents a project (source code-based) assembly.

public abstract class ProjectAssembly : IProjectAssembly, IAssembly
Inheritance:
object object
Derived:
CSharpProjectAssembly VBProjectAssembly
Implements:
IProjectAssembly IAssembly

Constructors

ProjectAssembly(IAssemblyName)

Initializes a new instance of the ProjectAssembly class.

protected ProjectAssembly(IAssemblyName assemblyName)
Parameter Type Description
assemblyName IAssemblyName

An IAssemblyName that contains assembly name information.

ProjectAssembly(string)

Initializes a new instance of the ProjectAssembly class.

protected ProjectAssembly(string name)
Parameter Type Description
name string

The simple name of the assembly.

Properties

AssemblyReferences

Gets the collection of assembly references for this assembly.

public IProjectAssemblyReferenceCollection AssemblyReferences { get; }

Property Value

IProjectAssemblyReferenceCollection:

The collection of assembly references for this assembly.

Documentation

Gets or sets the IAssemblyDocumentation that provides access to this assembly's type and member documentation.

public IAssemblyDocumentation Documentation { get; set; }

Property Value

IAssemblyDocumentation:

The IAssemblyDocumentation that provides access to this assembly's type and member documentation.

GlobalNamespace

Gets the entry point into the INamespaceDefinition tree defined in this assembly.

public INamespaceDefinition GlobalNamespace { get; }

Property Value

INamespaceDefinition:

The entry point into the INamespaceDefinition tree defined in this assembly.

IsLanguageCaseSensitive

Gets whether the language associated with this project assembly is case-sensitive.

protected abstract bool IsLanguageCaseSensitive { get; }

Property Value

bool:

true if the language associated with this project assembly is case-sensitive; otherwise, false.

Name

Gets the simple name of the assembly.

public string Name { get; }

Property Value

string:

The simple name of the assembly.

Namespaces

Gets the collection of INamespaceDefinition objects defined in this assembly.

public INamespaceDefinitionCollection Namespaces { get; }

Property Value

INamespaceDefinitionCollection:

The collection of INamespaceDefinition objects defined in this assembly.

Resolver

Gets the IResolver to use for this project assembly.

public abstract IResolver Resolver { get; }

Property Value

IResolver:

The IResolver to use for this project assembly.

SourceFiles

Gets the collection of source files in this project assembly.

public ISourceFileCollection SourceFiles { get; }

Property Value

ISourceFileCollection:

The collection of source files in this project assembly.

Methods

GetAssemblyName()

Returns an IAssemblyName that contains assembly name information.

public IAssemblyName GetAssemblyName()

Returns

IAssemblyName:

An IAssemblyName that contains assembly name information.

ToString()

Returns a String that represents the current Object.

public override string ToString()

Returns

string:

A String that represents the current Object.

ToTreeString()

Outputs the contents of the assembly in tree form.

public string ToTreeString()

Returns

string:

A string that indicates the contents of the assembly.

Inherited Members