C# Class NSoft.NFramework.Web.PageStatePersisters.PageStateTool

웹 Page 상태 정보를 관리하는 Utility 클래스입니다.
Afficher le fichier Open project: debop/NFramework Class Usage Examples

Méthodes publiques

Méthode Description
CreateStateEntity ( string id, object pageState, ICompressor compressor, int compressThreshold = 40960 ) : IPageStateEntity

pageState 정보를 직렬화해서, IPageStateEntity 객체로 빌드합니다.

TryParseStateEntity ( IPageStateEntity stateEntity, ICompressor compressor, object &pageState ) : bool

stateEntity 정보를 파싱하여 원본 Page 상태정보를 빌드합니다.

Method Details

CreateStateEntity() public static méthode

pageState 정보를 직렬화해서, IPageStateEntity 객체로 빌드합니다.
public static CreateStateEntity ( string id, object pageState, ICompressor compressor, int compressThreshold = 40960 ) : IPageStateEntity
id string
pageState object
compressor ICompressor
compressThreshold int
Résultat IPageStateEntity

TryParseStateEntity() public static méthode

stateEntity 정보를 파싱하여 원본 Page 상태정보를 빌드합니다.
public static TryParseStateEntity ( IPageStateEntity stateEntity, ICompressor compressor, object &pageState ) : bool
stateEntity IPageStateEntity
compressor ICompressor
pageState object
Résultat bool