C# Class UMD.HCIL.Piccolo.Util.GraphicsPathSurrogate

GraphicsPathSurrogate is a serialization surrogate that defines how to read and write a GraphicsPath object.
Inheritance: ISerializationSurrogate
显示文件 Open project: ME3Explorer/ME3Explorer

Public Methods

Method Description
GetObjectData ( Object obj, SerializationInfo info, StreamingContext context ) : void

Write this GraphicsPath to the given SerializationInfo.

SetObjectData ( Object obj, SerializationInfo info, StreamingContext context, ISurrogateSelector selector ) : Object

Read this GraphicsPath from the given SerializationInfo.

Method Details

GetObjectData() public method

Write this GraphicsPath to the given SerializationInfo.
public GetObjectData ( Object obj, SerializationInfo info, StreamingContext context ) : void
obj Object The object to serialize.
info System.Runtime.Serialization.SerializationInfo The SerializationInfo to write to.
context System.Runtime.Serialization.StreamingContext The streaming context of this serialization operation.
return void

SetObjectData() public method

Read this GraphicsPath from the given SerializationInfo.
public SetObjectData ( Object obj, SerializationInfo info, StreamingContext context, ISurrogateSelector selector ) : Object
obj Object The object to populate.
info System.Runtime.Serialization.SerializationInfo The SerializationInfo to read from.
context System.Runtime.Serialization.StreamingContext The StreamingContext of this serialization operation.
selector ISurrogateSelector /// The surrogate selector where the search for a compatible surrogate begins. ///
return Object