C# 클래스 RodsUtilities.HostedConfiguration

Utility class to get around the problem of app.config files not working correctly when a dll is hosted in Revit.
파일 보기 프로젝트 열기: RodH257/RodsRevitUtilities

공개 메소드들

메소드 설명
GetConfig ( Type type ) : Configuration

Get the configuration for the supplied type

GetConfigProperty ( string key, Type type ) : string

Gets a specific config property

메소드 상세

GetConfig() 공개 정적인 메소드

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

GetConfigProperty() 공개 정적인 메소드

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
리턴 string