ArcFM Solution Developer Guide
DuctBankViewModel Constructor


Syntax
'Declaration
 
Public Function New( _
   ByVal ductBank As DuctBank, _
   ByVal nearDuctBankEnd As DuctBankEnd, _
   ByVal ductEndViewModels As System.Collections.Generic.List(Of DuctEndViewModel), _
   ByVal nearWall As Wall, _
   ByVal farWall As Wall, _
   ByVal units As ConduitManagerUnitsConfig, _
   ByVal getCurrentScaleFunc As System.Func(Of Double), _
   ByVal getBaseScaleFunc As System.Func(Of Double), _
   ByVal getVaultSurfaceViewModel As System.Func(Of VaultSurfaceViewModel), _
   ByVal domainLookups As AttributeDomainDictionaries, _
   ByVal ductEndActions As IDuctEndActions, _
   ByVal eventAggregator As Caliburn.Micro.IEventAggregator _
)
'Usage
 
Dim ductBank As DuctBank
Dim nearDuctBankEnd As DuctBankEnd
Dim ductEndViewModels As System.Collections.Generic.List(Of DuctEndViewModel)
Dim nearWall As Wall
Dim farWall As Wall
Dim units As ConduitManagerUnitsConfig
Dim getCurrentScaleFunc As System.Func(Of Double)
Dim getBaseScaleFunc As System.Func(Of Double)
Dim getVaultSurfaceViewModel As System.Func(Of VaultSurfaceViewModel)
Dim domainLookups As AttributeDomainDictionaries
Dim ductEndActions As IDuctEndActions
Dim eventAggregator As Caliburn.Micro.IEventAggregator
 
Dim instance As New DuctBankViewModel(ductBank, nearDuctBankEnd, ductEndViewModels, nearWall, farWall, units, getCurrentScaleFunc, getBaseScaleFunc, getVaultSurfaceViewModel, domainLookups, ductEndActions, eventAggregator)
public DuctBankViewModel( 
   DuctBank ductBank,
   DuctBankEnd nearDuctBankEnd,
   System.Collections.Generic.List<DuctEndViewModel> ductEndViewModels,
   Wall nearWall,
   Wall farWall,
   ConduitManagerUnitsConfig units,
   System.Func<double> getCurrentScaleFunc,
   System.Func<double> getBaseScaleFunc,
   System.Func<VaultSurfaceViewModel> getVaultSurfaceViewModel,
   AttributeDomainDictionaries domainLookups,
   IDuctEndActions ductEndActions,
   Caliburn.Micro.IEventAggregator eventAggregator
)

Parameters

ductBank
nearDuctBankEnd
ductEndViewModels
nearWall
farWall
units
getCurrentScaleFunc
getBaseScaleFunc
getVaultSurfaceViewModel
domainLookups
ductEndActions
eventAggregator
Requirements

Target Platforms: Windows XP SP3 (32-bit and 64-bit), Windows 7 (32-bit and 64-bit)

Not all Operating Systems are supported on all products. Visit the ArcFM Solution Supported Versions page for full details.

See Also

Reference

DuctBankViewModel Class
DuctBankViewModel Members

 

 


Send Comment