C# Class RodsUtilities.HostedConfiguration

Utility class to get around the problem of app.config files not working correctly when a dll is hosted in Revit.
ファイルを表示 Open project: RodH257/RodsRevitUtilities

Public Methods

Method Description
GetConfig ( Type type ) : Configuration

Get the configuration for the supplied type

GetConfigProperty ( string key, Type type ) : string

Gets a specific config property

Method Details

GetConfig() public static method

Get the configuration for the supplied type
public static GetConfig ( Type type ) : Configuration
type System.Type type of class
return System.Configuration.Configuration

GetConfigProperty() public static method

Gets a specific config property
public static GetConfigProperty ( string key, Type type ) : string
key string the property to get
type System.Type type of class asking - to get right assembly
return string