ArcFM Desktop Developer Guide
Miner Namespace (Miner.System)
Inheritance Hierarchy

Version: 10.2.1b and 10.2.1b SP1

Resource Center Home

Classes
 ClassDescription
ClassHelpDocFromRegistry  
ClassMinerRuntimeEnvironment

MinerRuntimeEnvironment detects the runtime mode using the process name (e.g., ArcCatalog, ArcMap, ArcEngine). If it can't identify a runtime mode, it returns the default value from the mmRuntimeMode enumeration: mmRuntimeModeUnknown.

When writing a custom application, you will need to manually set the runtime mode using a value from the mmRuntimeMode enumeration. If your custom application has a user interface (e.g., message box, form), set the runtime mode to one that is more conducive to user interfaces (e.g., mmRuntimeModeArcEngine, mmRuntimeModeArcMap). If the custom application has no user interface, then the mmRuntimeModeServer mode is more appropriate.

Runtime mode is automatically set for ArcGIS and Schneider Electric applications and does not need to be set manually.

ClassResourcer This class allows you to internationalize the ArcFM Solution. This class primarily is used internally.
Interfaces
 InterfaceDescription
InterfaceIMMRuntimeEnvironment This interface provides access to the runtime mode.
Structures
 StructureDescription
StructureLazyInit<T> A generic, thread-safe container that will initialize a class only when first needed (lazy load).
Enumerations
 EnumerationDescription
EnumerationmmRuntimeMode

This enumeration contains a list of ArcFM Solution environments and applications. MMRuntimeEnvironment uses this enumeration to retrieve runtime mode for existing applications and manually set a runtime mode for custom applications.

Runtime mode is automatically set for ArcGIS and Schneider Electric applications and does not need to be set manually.

Remarks

See Also

Reference

Miner.System Assembly

 

 


Send Comment