Initializes a new instance of the ObjectFile class with the specified name.
Namespace: SharpAssembler.CoreAssembly: SharpAssembler Core (in SharpAssembler Core.dll) Version: 1.0.0.0 (1.0.0.0)
Syntax
| C# |
|---|
protected ObjectFile( string name, IArchitecture architecture ) |
| Visual Basic |
|---|
Protected Sub New ( _ name As String, _ architecture As IArchitecture _ ) |
| Visual C++ |
|---|
protected: ObjectFile( String^ name, IArchitecture^ architecture ) |
Parameters
- name
- Type: System..::..String
The name of the object file.
- architecture
- Type: SharpAssembler.Core..::..IArchitecture
The architecture.
Exceptions
| Exception | Condition |
|---|---|
| System..::..ArgumentNullException | name == null |
| System..::..ArgumentNullException | architecture == null |
Contracts
| Requires | ||
|---|---|---|
name != null
| ||
architecture != null
|