C# 클래스 Volante.PersistentString

Class encapsulating native .Net string. System.String is not a persistent object so it can not be stored in Volante as independent persistent object. But sometimes it is needed. This class sole this problem providing implicit conversion operator from System.String to PerisstentString. Also PersistentString class is mutable (i.e. unlike System.String, its value can be changed).
상속: PersistentResource
파일 보기 프로젝트 열기: kjk/volante 1 사용 예제들

공개 메소드들

메소드 설명
Append ( string tail ) : void

Append string to the current string value of PersistentString

Get ( ) : string

Get current string value

PersistentString ( )
PersistentString ( string str )

Constructor of peristent string

Set ( string str ) : void

Assign new string value to the PersistentString

ToString ( ) : string

Get .Net string

메소드 상세

Append() 공개 메소드

Append string to the current string value of PersistentString
public Append ( string tail ) : void
tail string appended string
리턴 void

Get() 공개 메소드

Get current string value
public Get ( ) : string
리턴 string

PersistentString() 공개 메소드

public PersistentString ( )

PersistentString() 공개 메소드

Constructor of peristent string
public PersistentString ( string str )
str string .Net string

Set() 공개 메소드

Assign new string value to the PersistentString
public Set ( string str ) : void
str string new string value
리턴 void

ToString() 공개 메소드

Get .Net string
public ToString ( ) : string
리턴 string