ArcFM Solution 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 System.Collections.Generic.List(Of DuctBank), _
   ByVal otherVaultFootprints As System.Collections.Generic.List(Of ValueTuple(Of PathGeometry3D,Double)), _
   ByVal domainLookups As AttributeDomainDictionaries, _
   ByVal units As ConduitManagerUnitsConfig, _
   ByVal saveFunc As System.Func(Of IEnumerable(Of DuctBankViewModel),IEnumerable(Of DuctBankViewModel),Task(Of Boolean)), _
   ByVal cancelAction As System.Action, _
   ByVal setSelectToolActiveAction As System.Action(Of Boolean), _
   ByVal zoomToAction As System.Action, _
   ByVal panToAction As System.Action, _
   ByVal getCurrentlySelectedConductor As System.Func(Of Conductor), _
   ByVal getCurrentlySelectedFiberCable As System.Func(Of FiberCable), _
   ByVal isElectricDistributionDomainNetworkPresent As System.Func(Of Boolean), _
   ByVal eventAggregator As Caliburn.Micro.IEventAggregator, _
   ByVal allowNonSpatialConductors As System.Boolean, _
   ByVal ufmWalls As System.Collections.Generic.IEnumerable(Of IFeature), _
   ByVal ufmFloor As IFeature, _
   ByVal ufmVault As IFeature, _
   ByVal facilityId As System.String _
)
'Usage
 
Dim notificationService As SE.Geospatial.Client.Common.Notifications.INotificationService
Dim vault As Vault2
Dim ductbanks As System.Collections.Generic.List(Of DuctBank)
Dim otherVaultFootprints As System.Collections.Generic.List(Of ValueTuple(Of PathGeometry3D,Double))
Dim domainLookups As AttributeDomainDictionaries
Dim units As ConduitManagerUnitsConfig
Dim saveFunc As System.Func(Of IEnumerable(Of DuctBankViewModel),IEnumerable(Of DuctBankViewModel),Task(Of Boolean))
Dim cancelAction As System.Action
Dim setSelectToolActiveAction As System.Action(Of Boolean)
Dim zoomToAction As System.Action
Dim panToAction As System.Action
Dim getCurrentlySelectedConductor As System.Func(Of Conductor)
Dim getCurrentlySelectedFiberCable As System.Func(Of FiberCable)
Dim isElectricDistributionDomainNetworkPresent As System.Func(Of Boolean)
Dim eventAggregator As Caliburn.Micro.IEventAggregator
Dim allowNonSpatialConductors As System.Boolean
Dim ufmWalls As System.Collections.Generic.IEnumerable(Of IFeature)
Dim ufmFloor As IFeature
Dim ufmVault As IFeature
Dim facilityId As System.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)
public VaultViewModel( 
   SE.Geospatial.Client.Common.Notifications.INotificationService notificationService,
   Vault2 vault,
   System.Collections.Generic.List<DuctBank> ductbanks,
   System.Collections.Generic.List<ValueTuple<PathGeometry3D,double>> otherVaultFootprints,
   AttributeDomainDictionaries domainLookups,
   ConduitManagerUnitsConfig units,
   System.Func<IEnumerable<DuctBankViewModel>,IEnumerable<DuctBankViewModel>,Task<bool>> saveFunc,
   System.Action cancelAction,
   System.Action<bool> setSelectToolActiveAction,
   System.Action zoomToAction,
   System.Action panToAction,
   System.Func<Conductor> getCurrentlySelectedConductor,
   System.Func<FiberCable> getCurrentlySelectedFiberCable,
   System.Func<bool> isElectricDistributionDomainNetworkPresent,
   Caliburn.Micro.IEventAggregator eventAggregator,
   System.bool allowNonSpatialConductors,
   System.Collections.Generic.IEnumerable<IFeature> ufmWalls,
   IFeature ufmFloor,
   IFeature ufmVault,
   System.string 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