Initializes a new instance of the ObjectFile class with the specified name.

Namespace: SharpAssembler.Core
Assembly: 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

ExceptionCondition
System..::..ArgumentNullExceptionname == null
System..::..ArgumentNullExceptionarchitecture == null

Contracts

Requires
name != null
architecture != null

See Also