C# Класс SharpMap.Utilities.Surrogates.TextureBrushSurrogate

Surrogate class used for serializing System.Drawing.TextureBrush
Наследование: ISerializationSurrogate
Показать файл Открыть проект

Открытые методы

Метод Описание
GetObjectData ( Object obj, SerializationInfo info, StreamingContext context ) : void

Populates the provided SerializationInfo with the data needed to serialize the object.

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

Populates the object using the information in the SerializationInfo

Описание методов

GetObjectData() публичный Метод

Populates the provided SerializationInfo with the data needed to serialize the object.
public GetObjectData ( Object obj, SerializationInfo info, StreamingContext context ) : void
obj Object The object to serialize.
info System.Runtime.Serialization.SerializationInfo The SerializationInfo to populate with data.
context System.Runtime.Serialization.StreamingContext The destination for this serialization.
Результат void

SetObjectData() публичный Метод

Populates the object using the information in the SerializationInfo
public SetObjectData ( Object obj, SerializationInfo info, StreamingContext context, ISurrogateSelector selector ) : Object
obj Object The object to populate.
info System.Runtime.Serialization.SerializationInfo The information to populate the object.
context System.Runtime.Serialization.StreamingContext The source from which the object is deserialized.
selector ISurrogateSelector The surrogate selector where the search for a compatible surrogate begins.
Результат Object