C# Class A4LGSharedFunctions.ConfigUtil

显示文件 Open project: Esri/local-government-desktop-addins

Public Properties

Property Type Description
fileName string
type string

Public Methods

Method Description
ChangeConfig ( ConfigEntries LoadedConfig, ConfigEntries ConfigToLoad ) : bool
GetAddLateralsConfig ( ) : List
GetAddLateralsFromMainConfig ( ) : List
GetAddResultsAsLayersOptions ( ) : AddResultsAsLayersOptions
GetAddressCenterlineConfig ( ) : List
GetAllConfigFiles ( bool includeLoaded, string type ) : List
GetAllConfigFilesNames ( bool includeLoaded ) : List
GetAttributeTransferConfig ( ) : List
GetConfigFile ( ) : string
GetConfigValue ( string keyname, bool defaultValue ) : bool
GetConfigValue ( string keyname, double defaultValue ) : double
GetConfigValue ( string keyname, int defaultValue ) : int
GetConfigValue ( string keyname ) : string
GetConfigValue ( string keyname, string defaultValue ) : string
GetConnectClosestConfig ( ) : List
GetCreatePointWithRefConfig ( ) : List
GetCreateTapPointsOnMainConfig ( ) : List
GetFlowAccumConfig ( ) : List
GetHelpFile ( ) : string
GetLayerViewerConfig ( ) : A4LGSharedFunctions.LayerViewerConfig
GetLinePointAtEndsConfig ( ) : List
GetMergeSplitConfig ( ) : List
GetMoveConnectionsConfig ( ) : List
GetProfileGraphConfig ( ) : List
compareConfigValue ( string keyname, string value ) : bool
copyFileContents ( string SourceFile, string TargetFile ) : bool
generateUserCachePath ( ) : string
getInstalledConfig ( string pathToUserProf, bool saveAsBackup ) : string

Private Methods

Method Description
KeyExists ( XmlDocument xmlDoc, string strKey ) : bool
getConfigAsXMLDoc ( ) : XmlDocument

Method Details

ChangeConfig() public static method

public static ChangeConfig ( ConfigEntries LoadedConfig, ConfigEntries ConfigToLoad ) : bool
LoadedConfig ConfigEntries
ConfigToLoad ConfigEntries
return bool

GetAddLateralsConfig() public static method

public static GetAddLateralsConfig ( ) : List
return List

GetAddLateralsFromMainConfig() public static method

public static GetAddLateralsFromMainConfig ( ) : List
return List

GetAddResultsAsLayersOptions() public static method

public static GetAddResultsAsLayersOptions ( ) : AddResultsAsLayersOptions
return AddResultsAsLayersOptions

GetAddressCenterlineConfig() public static method

public static GetAddressCenterlineConfig ( ) : List
return List

GetAllConfigFiles() public static method

public static GetAllConfigFiles ( bool includeLoaded, string type ) : List
includeLoaded bool
type string
return List

GetAllConfigFilesNames() public static method

public static GetAllConfigFilesNames ( bool includeLoaded ) : List
includeLoaded bool
return List

GetAttributeTransferConfig() public static method

public static GetAttributeTransferConfig ( ) : List
return List

GetConfigFile() public static method

public static GetConfigFile ( ) : string
return string

GetConfigValue() public static method

public static GetConfigValue ( string keyname, bool defaultValue ) : bool
keyname string
defaultValue bool
return bool

GetConfigValue() public static method

public static GetConfigValue ( string keyname, double defaultValue ) : double
keyname string
defaultValue double
return double

GetConfigValue() public static method

public static GetConfigValue ( string keyname, int defaultValue ) : int
keyname string
defaultValue int
return int

GetConfigValue() public static method

public static GetConfigValue ( string keyname ) : string
keyname string
return string

GetConfigValue() public static method

public static GetConfigValue ( string keyname, string defaultValue ) : string
keyname string
defaultValue string
return string

GetConnectClosestConfig() public static method

public static GetConnectClosestConfig ( ) : List
return List

GetCreatePointWithRefConfig() public static method

public static GetCreatePointWithRefConfig ( ) : List
return List

GetCreateTapPointsOnMainConfig() public static method

public static GetCreateTapPointsOnMainConfig ( ) : List
return List

GetFlowAccumConfig() public static method

public static GetFlowAccumConfig ( ) : List
return List

GetHelpFile() public static method

public static GetHelpFile ( ) : string
return string

GetLayerViewerConfig() public static method

public static GetLayerViewerConfig ( ) : A4LGSharedFunctions.LayerViewerConfig
return A4LGSharedFunctions.LayerViewerConfig

GetLinePointAtEndsConfig() public static method

public static GetLinePointAtEndsConfig ( ) : List
return List

GetMergeSplitConfig() public static method

public static GetMergeSplitConfig ( ) : List
return List

GetMoveConnectionsConfig() public static method

public static GetMoveConnectionsConfig ( ) : List
return List

GetProfileGraphConfig() public static method

public static GetProfileGraphConfig ( ) : List
return List

compareConfigValue() public static method

public static compareConfigValue ( string keyname, string value ) : bool
keyname string
value string
return bool

copyFileContents() public static method

public static copyFileContents ( string SourceFile, string TargetFile ) : bool
SourceFile string
TargetFile string
return bool

generateUserCachePath() public static method

public static generateUserCachePath ( ) : string
return string

getInstalledConfig() public static method

public static getInstalledConfig ( string pathToUserProf, bool saveAsBackup ) : string
pathToUserProf string
saveAsBackup bool
return string

Property Details

fileName public_oe static_oe property

public static string fileName
return string

type public_oe static_oe property

public static string type
return string