C# 클래스 NSoft.NFramework.Web.PageStatePersisters.PageStateTool

웹 Page 상태 정보를 관리하는 Utility 클래스입니다.
파일 보기 프로젝트 열기: debop/NFramework 1 사용 예제들

공개 메소드들

메소드 설명
CreateStateEntity ( string id, object pageState, ICompressor compressor, int compressThreshold = 40960 ) : IPageStateEntity

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

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

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

메소드 상세

CreateStateEntity() 공개 정적인 메소드

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

TryParseStateEntity() 공개 정적인 메소드

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