ArcFM Engine Developer Guide
VaultViewModel Constructor


Syntax
'Declaration
 
Public Function New( _
   ByVal notificationService As SE.Geospatial.Client.Common.Notifications.INotificationService, _
   ByVal vault As Vault2, _
   ByVal ductbanks As List(Of DuctBank), _
   ByVal otherVaultFootprints As List(Of ValueTuple(Of PathGeometry3D,Double)), _
   ByVal domainLookups As AttributeDomainDictionaries, _
   ByVal units As ConduitManagerUnitsConfig, _
   ByVal saveFunc As Func(Of IEnumerable(Of DuctBankViewModel),IEnumerable(Of DuctBankViewModel),Task(Of Boolean)), _
   ByVal cancelAction As Action, _
   ByVal setSelectToolActiveAction As Action(Of Boolean), _
   ByVal zoomToAction As Action, _
   ByVal panToAction As Action, _
   ByVal getCurrentlySelectedConductor As Func(Of Conductor), _
   ByVal getCurrentlySelectedFiberCable As Func(Of FiberCable), _
   ByVal isElectricDistributionDomainNetworkPresent As Func(Of Boolean), _
   ByVal eventAggregator As Caliburn.Micro.IEventAggregator, _
   ByVal allowNonSpatialConductors As Boolean, _
   ByVal ufmWalls As IEnumerable(Of IFeature), _
   ByVal ufmFloor As IFeature, _
   ByVal ufmVault As IFeature, _
   ByVal facilityId As String _
)
'Usage
 
Dim notificationService As SE.Geospatial.Client.Common.Notifications.INotificationService
Dim vault As Vault2
Dim ductbanks As List(Of DuctBank)
Dim otherVaultFootprints As List(Of ValueTuple(Of PathGeometry3D,Double))
Dim domainLookups As AttributeDomainDictionaries
Dim units As ConduitManagerUnitsConfig
Dim saveFunc As Func(Of IEnumerable(Of DuctBankViewModel),IEnumerable(Of DuctBankViewModel),Task(Of Boolean))
Dim cancelAction As Action
Dim setSelectToolActiveAction As Action(Of Boolean)
Dim zoomToAction As Action
Dim panToAction As Action
Dim getCurrentlySelectedConductor As Func(Of Conductor)
Dim getCurrentlySelectedFiberCable As Func(Of FiberCable)
Dim isElectricDistributionDomainNetworkPresent As Func(Of Boolean)
Dim eventAggregator As Caliburn.Micro.IEventAggregator
Dim allowNonSpatialConductors As Boolean
Dim ufmWalls As IEnumerable(Of IFeature)
Dim ufmFloor As IFeature
Dim ufmVault As IFeature
Dim facilityId As String
 
Dim instance As New VaultViewModel(notificationService, vault, ductbanks, otherVaultFootprints, domainLookups, units, saveFunc, cancelAction, setSelectToolActiveAction, zoomToAction, panToAction, getCurrentlySelectedConductor, getCurrentlySelectedFiberCable, isElectricDistributionDomainNetworkPresent, eventAggregator, allowNonSpatialConductors, ufmWalls, ufmFloor, ufmVault, facilityId)

Parameters

notificationService
vault
ductbanks
otherVaultFootprints
domainLookups
units
saveFunc
cancelAction
setSelectToolActiveAction
zoomToAction
panToAction
getCurrentlySelectedConductor
getCurrentlySelectedFiberCable
isElectricDistributionDomainNetworkPresent
eventAggregator
allowNonSpatialConductors
ufmWalls
ufmFloor
ufmVault
facilityId
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

VaultViewModel Class
VaultViewModel Members

 

 


Send Comment