Piccolo.NET

PStream.RecordWrittenSurrogateSelector.GetSurrogate Method 

Returns a PStream.RecordWrittenSurrogate, that wraps the surrogate for a particular type.

public override ISerializationSurrogate GetSurrogate(
   Type type,
   StreamingContext context,
   out ISurrogateSelector selector
);

Parameters

type
The Type for which the surrogate is requested.
context
The streaming context.
selector
The surrogate to use.

Return Value

A PStream.RecordWrittenSurrogate that wraps the surrogate for the given type.

Implements

ISurrogateSelector.GetSurrogate

See Also

PStream.RecordWrittenSurrogateSelector Class | UMD.HCIL.Piccolo.Util Namespace