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 an instance of the class.
protected ProjectAssembly(IAssemblyName assemblyName)
| Parameter | Type | Description |
|---|---|---|
| assemblyName | IAssemblyName | An IAssemblyName that contains assembly name information. |
ProjectAssembly(string)
Initializes an instance of the class.
protected ProjectAssembly(string name)
| Parameter | Type | Description |
|---|---|---|
| name | string | The simple name of the assembly. |
Properties
AssemblyReferences
The collection of assembly references for this assembly.
public IProjectAssemblyReferenceCollection AssemblyReferences { get; }
Property Value
Documentation
The IAssemblyDocumentation that provides access to this assembly's type and member documentation.
GlobalNamespace
The entry point into the INamespaceDefinition tree defined in this assembly.
GlobalUsingDirectives
The collection of global IUsingDirective objects defined in this project assembly.
public IEnumerable<IUsingDirective> GlobalUsingDirectives { get; }
Property Value
IsLanguageCaseSensitive
Indicates whether the language associated with this project assembly is case-sensitive.
Name
The simple name of the assembly.
Namespaces
The collection of INamespaceDefinition objects defined in this assembly.
public INamespaceDefinitionCollection Namespaces { get; }
Property Value
Resolver
The IResolver to use for this project assembly.
SourceFiles
The collection of source files in this project assembly.
Methods
GetAssemblyName()
Returns an IAssemblyName that contains assembly name information.
ToString()
Returns the string representation of this object.
ToTreeString()
Outputs a string indicating the contents of the assembly in tree form.
Inherited Members
- object.GetType()
- object.MemberwiseClone()
- object.Equals(object)
- object.Equals(object, object)
- object.ReferenceEquals(object, object)
- object.GetHashCode()