ArcFM Desktop Developer Guide
DuctEndViewModel Constructor


Syntax
'Declaration
 
Public Function New( _
   ByVal nearDuctEnd As DuctEnd, _
   ByVal farDuctEnd As DuctEnd, _
   ByVal duct As Duct, _
   ByVal domainLookups As AttributeDomainDictionaries, _
   ByVal units As ConduitManagerUnitsConfig, _
   ByVal nearWall As Wall, _
   ByVal farWall As Wall, _
   ByVal vaultFacilityId As String, _
   ByVal constructFarDuctEndGisPointFromNearDuctEndWallCoordinate As Func(Of Coordinate,PointGeometry3D), _
   ByVal getCurrentScale As Func(Of Double), _
   ByVal getBaseScale As Func(Of Double), _
   ByVal getCurrentlySelectedConductor As Func(Of Conductor), _
   ByVal getCurrentlySelectedFiberCable As Func(Of FiberCable), _
   ByVal getAlignmentToolEnabled As Func(Of Boolean), _
   ByVal ductEndActions As IDuctEndActions, _
   ByVal eventAggregator As Caliburn.Micro.IEventAggregator, _
   ByVal getAllDuctBanks As Func(Of IEnumerable(Of DuctBankViewModel)) _
)
'Usage
 
Dim nearDuctEnd As DuctEnd
Dim farDuctEnd As DuctEnd
Dim duct As Duct
Dim domainLookups As AttributeDomainDictionaries
Dim units As ConduitManagerUnitsConfig
Dim nearWall As Wall
Dim farWall As Wall
Dim vaultFacilityId As String
Dim constructFarDuctEndGisPointFromNearDuctEndWallCoordinate As Func(Of Coordinate,PointGeometry3D)
Dim getCurrentScale As Func(Of Double)
Dim getBaseScale As Func(Of Double)
Dim getCurrentlySelectedConductor As Func(Of Conductor)
Dim getCurrentlySelectedFiberCable As Func(Of FiberCable)
Dim getAlignmentToolEnabled As Func(Of Boolean)
Dim ductEndActions As IDuctEndActions
Dim eventAggregator As Caliburn.Micro.IEventAggregator
Dim getAllDuctBanks As Func(Of IEnumerable(Of DuctBankViewModel))
 
Dim instance As New DuctEndViewModel(nearDuctEnd, farDuctEnd, duct, domainLookups, units, nearWall, farWall, vaultFacilityId, constructFarDuctEndGisPointFromNearDuctEndWallCoordinate, getCurrentScale, getBaseScale, getCurrentlySelectedConductor, getCurrentlySelectedFiberCable, getAlignmentToolEnabled, ductEndActions, eventAggregator, getAllDuctBanks)

Parameters

nearDuctEnd
farDuctEnd
duct
domainLookups
units
nearWall
farWall
vaultFacilityId
constructFarDuctEndGisPointFromNearDuctEndWallCoordinate
getCurrentScale
getBaseScale
getCurrentlySelectedConductor
getCurrentlySelectedFiberCable
getAlignmentToolEnabled
ductEndActions
eventAggregator
getAllDuctBanks
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

DuctEndViewModel Class
DuctEndViewModel Members

 

 


Send Comment