C# 클래스 Qowaiv.CodeGenerator.Xml.XResourceFile

파일 보기 프로젝트 열기: Corniel/Qowaiv 1 사용 예제들

Private Properties

프로퍼티 타입 설명

공개 메소드들

메소드 설명
Load ( FileInfo file ) : XResourceFile

Loads a resource file from stream.

Load ( Stream stream ) : XResourceFile

Loads a resource file from stream.

Load ( string file ) : XResourceFile

Loads a resource file from stream.

Save ( FileInfo file, Encoding encoding = null ) : void

Saves the resource file to a file.

Save ( Stream stream, Encoding encoding = null ) : void

Saves the resource file to a stream.

XResourceFile ( ) : System

Initializes a new instance of a resource file.

XResourceFile ( IEnumerable data ) : System

Initializes a new instance of a resource file.

this ( string key ) : XResourceFileData

Gets the first (or default) item with the specified key.

메소드 상세

Load() 공개 정적인 메소드

Loads a resource file from stream.
public static Load ( FileInfo file ) : XResourceFile
file System.IO.FileInfo /// The file to load from. ///
리턴 XResourceFile

Load() 공개 정적인 메소드

Loads a resource file from stream.
public static Load ( Stream stream ) : XResourceFile
stream Stream /// The stream to load from. ///
리턴 XResourceFile

Load() 공개 정적인 메소드

Loads a resource file from stream.
public static Load ( string file ) : XResourceFile
file string /// The file to load from. ///
리턴 XResourceFile

Save() 공개 메소드

Saves the resource file to a file.
public Save ( FileInfo file, Encoding encoding = null ) : void
file System.IO.FileInfo /// The file to safe to. ///
encoding System.Text.Encoding /// The encoding to use. ///
리턴 void

Save() 공개 메소드

Saves the resource file to a stream.
public Save ( Stream stream, Encoding encoding = null ) : void
stream Stream /// The stream to safe to. ///
encoding System.Text.Encoding /// The encoding to use. ///
리턴 void

XResourceFile() 공개 메소드

Initializes a new instance of a resource file.
public XResourceFile ( ) : System
리턴 System

XResourceFile() 공개 메소드

Initializes a new instance of a resource file.
public XResourceFile ( IEnumerable data ) : System
data IEnumerable
리턴 System

this() 공개 메소드

Gets the first (or default) item with the specified key.
public this ( string key ) : XResourceFileData
key string /// The key to search for. ///
리턴 XResourceFileData