C# 클래스 Yava.Util

파일 보기 프로젝트 열기: Beluki/Yava

공개 메소드들

메소드 설명
Deserialize ( String filepath ) : Object

Deserialize an object from a binary file.

MessageBoxYesNo ( String text, String caption ) : System.Boolean

Show a MessageBox with Yes and No buttons. Return true when Yes is clicked, false otherwise.

ResourceAsIcon ( String resource ) : Icon

Load an embedded resource as an icon.

Serialize ( Object value, String filepath ) : void

Serialize an object to a binary file.

메소드 상세

Deserialize() 공개 정적인 메소드

Deserialize an object from a binary file.
public static Deserialize ( String filepath ) : Object
filepath String File path.
리턴 Object

MessageBoxYesNo() 공개 정적인 메소드

Show a MessageBox with Yes and No buttons. Return true when Yes is clicked, false otherwise.
public static MessageBoxYesNo ( String text, String caption ) : System.Boolean
text String MessageBox text.
caption String MessageBox caption.
리턴 System.Boolean

ResourceAsIcon() 공개 정적인 메소드

Load an embedded resource as an icon.
public static ResourceAsIcon ( String resource ) : Icon
resource String Resource name, including namespace.
리턴 System.Drawing.Icon

Serialize() 공개 정적인 메소드

Serialize an object to a binary file.
public static Serialize ( Object value, String filepath ) : void
value Object Object to serialize.
filepath String Destination path.
리턴 void