C# 클래스 CSharpGL.ManifestResourceLoader

A small helper class to load manifest resource files.
파일 보기 프로젝트 열기: bitzhuwei/CSharpGL 1 사용 예제들

공개 메소드들

메소드 설명
GetLines ( string textFileName, int stackIndex = 2 ) : IEnumerable

Loads the named manifest resource and returns each line in order.

GetStream ( string textFileName, int stackIndex = 2 ) : Stream

Loads the named manifest resource and returns each line in order.

LoadBitmap ( string filename, int stackIndex = 2 ) : Bitmap

Loads bitmap in the manifest resource.

LoadTextFile ( string textFileName, int stackIndex = 2 ) : string

Loads the named manifest resource as a text string.

비공개 메소드들

메소드 설명
GetLocation ( string textFileName, int stackIndex, Assembly &executingAssembly, string &location ) : void

메소드 상세

GetLines() 공개 정적인 메소드

Loads the named manifest resource and returns each line in order.
public static GetLines ( string textFileName, int stackIndex = 2 ) : IEnumerable
textFileName string
stackIndex int
리턴 IEnumerable

GetStream() 공개 정적인 메소드

Loads the named manifest resource and returns each line in order.
public static GetStream ( string textFileName, int stackIndex = 2 ) : Stream
textFileName string
stackIndex int
리턴 Stream

LoadBitmap() 공개 정적인 메소드

Loads bitmap in the manifest resource.
public static LoadBitmap ( string filename, int stackIndex = 2 ) : Bitmap
filename string
stackIndex int
리턴 System.Drawing.Bitmap

LoadTextFile() 공개 정적인 메소드

Loads the named manifest resource as a text string.
public static LoadTextFile ( string textFileName, int stackIndex = 2 ) : string
textFileName string Name of the text file.
stackIndex int
리턴 string