ArcFM Solution 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 System.String, _
   ByVal constructFarDuctEndGisPointFromNearDuctEndWallCoordinate As System.Func(Of Coordinate,PointGeometry3D), _
   ByVal getCurrentScale As System.Func(Of Double), _
   ByVal getBaseScale As System.Func(Of Double), _
   ByVal getCurrentlySelectedConductor As System.Func(Of Conductor), _
   ByVal getCurrentlySelectedFiberCable As System.Func(Of FiberCable), _
   ByVal getAlignmentToolEnabled As System.Func(Of Boolean), _
   ByVal ductEndActions As IDuctEndActions, _
   ByVal eventAggregator As Caliburn.Micro.IEventAggregator, _
   ByVal getAllDuctBanks As System.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 System.String
Dim constructFarDuctEndGisPointFromNearDuctEndWallCoordinate As System.Func(Of Coordinate,PointGeometry3D)
Dim getCurrentScale As System.Func(Of Double)
Dim getBaseScale As System.Func(Of Double)
Dim getCurrentlySelectedConductor As System.Func(Of Conductor)
Dim getCurrentlySelectedFiberCable As System.Func(Of FiberCable)
Dim getAlignmentToolEnabled As System.Func(Of Boolean)
Dim ductEndActions As IDuctEndActions
Dim eventAggregator As Caliburn.Micro.IEventAggregator
Dim getAllDuctBanks As System.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)
public DuctEndViewModel( 
   DuctEnd nearDuctEnd,
   DuctEnd farDuctEnd,
   Duct duct,
   AttributeDomainDictionaries domainLookups,
   ConduitManagerUnitsConfig units,
   Wall nearWall,
   Wall farWall,
   System.string vaultFacilityId,
   System.Func<Coordinate,PointGeometry3D> constructFarDuctEndGisPointFromNearDuctEndWallCoordinate,
   System.Func<double> getCurrentScale,
   System.Func<double> getBaseScale,
   System.Func<Conductor> getCurrentlySelectedConductor,
   System.Func<FiberCable> getCurrentlySelectedFiberCable,
   System.Func<bool> getAlignmentToolEnabled,
   IDuctEndActions ductEndActions,
   Caliburn.Micro.IEventAggregator eventAggregator,
   System.Func<IEnumerable<DuctBankViewModel>> 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