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

웹 Page 상태 정보를 관리하는 Utility 클래스입니다.
ファイルを表示 Open project: debop/NFramework Class Usage Examples

Public Methods

Method 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 method

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

TryParseStateEntity() public static method

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