C# 클래스 NArrange.Core.Configuration.CodeConfiguration

Code arranger configuration information.
상속: ConfigurationElement
파일 보기 프로젝트 열기: MarcStan/NArrange 1 사용 예제들

Private Properties

프로퍼티 타입 설명
CodeConfiguration System
HandleUnknownAttribute void
HandleUnknownElement void
TreeProcess void
Upgrade void
UpgradeProjectExtensions void

공개 메소드들

메소드 설명
Clone ( ) : object

Override Clone so that we can force resolution of element references.

Load ( Stream stream ) : CodeConfiguration

Loads a configuration from a stream.

Load ( Stream stream, bool resolveReferences ) : CodeConfiguration

Loads a configuration from a stream.

Load ( string fileName ) : CodeConfiguration

Loads a configuration from the specified file.

Load ( string fileName, bool resolveReferences ) : CodeConfiguration

Loads a configuration from the specified file.

ResolveReferences ( ) : void

Resolves any reference elements in the configuration.

Save ( string fileName ) : void

Saves the configuration to a file.

보호된 메소드들

메소드 설명
DoClone ( ) : ConfigurationElement

Creates a clone of this instance.

비공개 메소드들

메소드 설명
CodeConfiguration ( ) : System

Type initialization.

HandleUnknownAttribute ( object sender, XmlAttributeEventArgs e ) : void

Handler for unknown attributes.

HandleUnknownElement ( object sender, XmlElementEventArgs e ) : void

Handler for unknown elements.

TreeProcess ( ConfigurationElement element, Action actions ) : void

Recurses through the configuration tree and executes actions against each configuration element.

Upgrade ( ) : void

Upgrades the configuration.

UpgradeProjectExtensions ( ) : void

Moves project extensions to the new format.

메소드 상세

Clone() 공개 메소드

Override Clone so that we can force resolution of element references.
public Clone ( ) : object
리턴 object

DoClone() 보호된 메소드

Creates a clone of this instance.
protected DoClone ( ) : ConfigurationElement
리턴 ConfigurationElement

Load() 공개 정적인 메소드

Loads a configuration from a stream.
public static Load ( Stream stream ) : CodeConfiguration
stream Stream The stream to load the configuration from.
리턴 CodeConfiguration

Load() 공개 정적인 메소드

Loads a configuration from a stream.
public static Load ( Stream stream, bool resolveReferences ) : CodeConfiguration
stream Stream The sream to load the configuration from.
resolveReferences bool /// Whether or not element references should be resolved. ///
리턴 CodeConfiguration

Load() 공개 정적인 메소드

Loads a configuration from the specified file.
public static Load ( string fileName ) : CodeConfiguration
fileName string Configuration file name.
리턴 CodeConfiguration

Load() 공개 정적인 메소드

Loads a configuration from the specified file.
public static Load ( string fileName, bool resolveReferences ) : CodeConfiguration
fileName string Configuration file name.
resolveReferences bool Resolve element references.
리턴 CodeConfiguration

ResolveReferences() 공개 메소드

Resolves any reference elements in the configuration.
public ResolveReferences ( ) : void
리턴 void

Save() 공개 메소드

Saves the configuration to a file.
public Save ( string fileName ) : void
fileName string Name of the file.
리턴 void