C# 클래스 Rebel.Framework.Serialization.AbstractSerializationService

파일 보기 프로젝트 열기: RebelCMS/rebelcmsxu5 1 사용 예제들

공개 메소드들

메소드 설명
FromStream ( Stream input, Type outputType, string intent = null ) : object

Finds an IFormatter with a matching intent , and deserializes the Stream to an object graph.

ToStream ( object input, string intent = null ) : IStreamedResult

Finds an IFormatter with a matching intent , and serializes the object graph to an IStreamedResult .

메소드 상세

FromStream() 공개 추상적인 메소드

Finds an IFormatter with a matching intent , and deserializes the Stream to an object graph.
public abstract FromStream ( Stream input, Type outputType, string intent = null ) : object
input Stream
outputType System.Type
intent string
리턴 object

ToStream() 공개 추상적인 메소드

Finds an IFormatter with a matching intent , and serializes the object graph to an IStreamedResult .
public abstract ToStream ( object input, string intent = null ) : IStreamedResult
input object
intent string
리턴 IStreamedResult